CollectingOutputReceiver

public class CollectingOutputReceiver
extends Object implements IShellOutputReceiver

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


Un IShellOutputReceiver qui rassemble toute la sortie du shell en une seuleString .

Résumé

Constructeurs publics

CollectingOutputReceiver ()

Méthodes publiques

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

void cancel ()

Annuler la collection de sortie

void clearBuffer ()

Effacez le contenu du tampon.

void flush ()

String getOutput ()
boolean isCancelled ()

Constructeurs publics

CollectingOutputReceiver

public CollectingOutputReceiver ()

Méthodes publiques

addOutput

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

Paramètres
data byte

offset int

length int

Annuler

public void cancel ()

Annuler la collection de sortie

clearBuffer

public void clearBuffer ()

Effacez le contenu du tampon.

affleurer

public void flush ()

getOutput

public String getOutput ()

Retour
String

est annulée

public boolean isCancelled ()

Retour
boolean