コンソールリーダー出力ストリーム

public class ConsoleReaderOutputStream
extends Object

java.lang.オブジェクト
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)

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

コンソールリーダー出力ストリーム

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

書く

public void write (int b)

パラメーター
b int