RecolectandoSalidaReceptor
public class CollectingOutputReceiver
extends Object
implements IShellOutputReceiver
java.lang.Objeto | |
↳ | com.android.tradefed.device.CollectingOutputReceiver |
Un IShellOutputReceiver
que recopila toda la salida del shell en un ERROR(/String)
.
Resumen
Constructores públicos | |
---|---|
CollectingOutputReceiver () |
Métodos públicos | |
---|---|
void | addOutput (byte[] data, int offset, int length) |
void | cancel () Cancelar la colección de salida |
void | clearBuffer () Borrar el contenido del búfer. |
void | flush () |
String | getOutput () |
boolean | isCancelled ()
|
Constructores públicos
RecolectandoSalidaReceptor
public CollectingOutputReceiver ()
Métodos públicos
añadirSalida
public void addOutput (byte[] data, int offset, int length)
Parámetros | |
---|---|
data | byte |
offset | int |
length | int |
Cancelar
public void cancel ()
Cancelar la colección de salida
borrarbuffer
public void clearBuffer ()
Borrar el contenido del búfer.
enjuagar
public void flush ()
obtenerSalida
public String getOutput ()
Devoluciones | |
---|---|
String |
está cancelado
public boolean isCancelled ()
Devoluciones | |
---|---|
boolean |