CollectingOutputReceiver

public class CollectingOutputReceiver
extends Object implements IShellOutputReceiver

java.lang.Object
   ↳ com.android.tradefed.device.CollectingOutputReceiver


IShellOutputReceiver, który łączy cały kod wyjściowy w jeden String.

Podsumowanie

Konstruktory publiczne

CollectingOutputReceiver()

Metody publiczne

void addOutput(byte[] data, int offset, int length)

void cancel()

Anulowanie kolekcji danych wyjściowych

void clearBuffer()

Wyczyść zawartość bufora.

void flush()

String getOutput()
boolean isCancelled()

Konstruktory publiczne

CollectingOutputReceiver

public CollectingOutputReceiver ()

Metody publiczne

addOutput

public void addOutput (byte[] data, 
                int offset, 
                int length)

Parametry
data byte

offset int

length int

anuluj

public void cancel ()

Anulowanie kolekcji danych wyjściowych

clearBuffer

public void clearBuffer ()

Wyczyść zawartość bufora.

spłukać

public void flush ()

getOutput

public String getOutput ()

Zwroty
String

isCancelled

public boolean isCancelled ()

Zwroty
boolean