public class InputConsoleTerminal extends Object implements IInputTerminal
Provides the console as a terminal input source. Wrapper for System.in
.
Constructor and Description |
---|
InputConsoleTerminal() |
Modifier and Type | Method and Description |
---|---|
BufferedReader |
getReader()
Gets the console as a terminal input source.
|
InputStream |
getStream()
Gets the underlying stream.
|
public BufferedReader getReader()
Gets the console as a terminal input source.
getReader
in interface IInputTerminal
BufferedReader
class instance.public InputStream getStream()
Gets the underlying stream.
getStream
in interface IInputTerminal
System.in
Copyright © 2022 Aspose. All Rights Reserved.