ConsoleReaderOutputStream

public class ConsoleReaderOutputStream
extends OutputStream

java.lang.Object
   ↳ java.io.OutputStream
     ↳ com.android.tradefed.command.console.ConsoleReaderOutputStream


OutputStream, którego można użyć, aby System.out.print() dobrze współpracował z LineReader niedokończoną linią użytkownika.

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

Podsumowanie

Konstruktory publiczne

ConsoleReaderOutputStream(LineReader reader)

Metody publiczne

LineReader getConsoleReader()

Pobieranie instancji 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 ()

Pobieranie instancji LineReader, której używamy wewnętrznie

Zwraca
LineReader

zapis

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

Parametry
b byte

off int

len int

Zgłasza
IOException

zapis

public void write (int b)

Parametry
b int

Zgłasza
IOException