CollectingOutputReceiver
public class CollectingOutputReceiver
extends Object
implements IShellOutputReceiver
java.lang.Object | |
↳ | com.android.tradefed.device.CollectingOutputReceiver |
Um IShellOutputReceiver
que coleta toda a saída do shell em um ERROR(/String)
.
Resumo
Construtores públicos | |
---|---|
CollectingOutputReceiver () |
Métodos públicos | |
---|---|
void | addOutput (byte[] data, int offset, int length) |
void | cancel () Cancelar a coleção de saída |
void | clearBuffer () Limpe o conteúdo do buffer. |
void | flush () |
String | getOutput () |
boolean | isCancelled ()
|
Construtores públicos
CollectingOutputReceiver
public CollectingOutputReceiver ()
Métodos públicos
addOutput
public void addOutput (byte[] data, int offset, int length)
Parâmetros | |
---|---|
data | byte |
offset | int |
length | int |
cancelar
public void cancel ()
Cancelar a coleção de saída
clearBuffer
public void clearBuffer ()
Limpe o conteúdo do buffer.
rubor
public void flush ()
getOutput
public String getOutput ()
devoluções | |
---|---|
String |
é cancelado
public boolean isCancelled ()
devoluções | |
---|---|
boolean |