ConsoleReaderOutputStream

public class ConsoleReaderOutputStream
extends OutputStream

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


System.out.print() をユーザーの LineReader unfinishedLine. と連携させるために使用できる OutputStream。

簡単なパフォーマンステストでは、このクラスがパフォーマンスに与える影響は測定できませんでした。

概要

パブリック コンストラクタ

ConsoleReaderOutputStream(LineReader reader)

パブリック メソッド

LineReader getConsoleReader()

内部で使用している LineReader インスタンスを取得します。

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

void write(int b)

パブリック コンストラクタ

ConsoleReaderOutputStream

public ConsoleReaderOutputStream (LineReader reader)

パラメータ
reader LineReader

パブリック メソッド

getConsoleReader

public LineReader getConsoleReader ()

内部で使用している LineReader インスタンスを取得します。

戻り値
LineReader

書き込み

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

パラメータ
b byte

off int

len int

例外
IOException

書き込み

public void write (int b)

パラメータ
b int

例外
IOException