ConsoleReaderOutputStream
public
class
ConsoleReaderOutputStream
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.command.console.ConsoleReaderOutputStream |
Strumień danych wyjściowych, który umożliwia System.out.print() współpracę z użytkownikiem LineReader unfinishedLine.
W testach wydajnościowych o niskim priorytecie ta klasa nie miała zauważalnego wpływu na wydajność.
Podsumowanie
Konstruktory publiczne | |
|---|---|
ConsoleReaderOutputStream(LineReader reader)
|
|
Metody publiczne | |
|---|---|
LineReader
|
getConsoleReader()
Pobierz instancję LineReader, której używamy wewnętrznie |
void
|
write(byte[] b, int off, int len)
|
void
|
write(int b)
|
Konstruktory publiczne
ConsoleReaderOutputStream
public ConsoleReaderOutputStream (LineReader reader)
| Parametry | |
|---|---|
reader |
LineReader |
Metody publiczne
getConsoleReader
public LineReader getConsoleReader ()
Pobierz instancję LineReader, której używamy wewnętrznie
| Zwroty | |
|---|---|
LineReader |
|
pisać
public void write (byte[] b,
int off,
int len)
| Parametry | |
|---|---|
b |
byte |
off |
int |
len |
int |
pisać
public void write (int b)
| Parametry | |
|---|---|
b |
int |