Strumień danych wyjściowych ConsoleReaderOutput

public class ConsoleReaderOutputStream
extends Object

java.lang.Object
com.android.tradefed.command.console.ConsoleReaderOutputStream


Obiekt OutputStream, który może służyć do zapewnienia, że System.out.print() będzie zgodne z LineReader unfinishedLine.

W prostych testach skuteczności ta klasa nie miała wymiernego wpływu na skuteczność.

Podsumowanie

Konstruktory publiczne

ConsoleReaderOutputStream(LineReader reader)

Metody publiczne

LineReader getConsoleReader()

Pobierz instancję LineReader, która jest używana wewnętrznie

void write(byte[] b, int off, int len)

void write(int b)

Konstruktory publiczne

Strumień danych wyjściowych ConsoleReaderOutput

public ConsoleReaderOutputStream (LineReader reader)

Parametry
reader LineReader

Metody publiczne

Odczytujący konsolę getConsoleReader

public LineReader getConsoleReader ()

Pobierz instancję LineReader, która jest używana wewnętrznie

Zwroty
LineReader

zapis

public void write (byte[] b, 
                int off, 
                int len)

Parametry
b byte

off int

len int

zapis

public void write (int b)

Parametry
b int