CollectingOutputReceiver

public class CollectingOutputReceiver
extends Object implements IShellOutputReceiver

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


IShellOutputReceiver الذي يجمع ناتج الصدفة بالكامل في String واحدة.

ملخص

المنشأت العامة

CollectingOutputReceiver ()

الأساليب العامة

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

void cancel ()

قم بإلغاء مجموعة الإخراج

void clearBuffer ()

امسح محتوى المخزن المؤقت.

void flush ()

String getOutput ()
boolean isCancelled ()

المنشأت العامة

CollectingOutputReceiver

public CollectingOutputReceiver ()

الأساليب العامة

addOutput

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

حدود
data byte

offset int

length int

يلغي

public void cancel ()

قم بإلغاء مجموعة الإخراج

clearBuffer

public void clearBuffer ()

امسح محتوى المخزن المؤقت.

دافق

public void flush ()

getOutput

public String getOutput ()

عائدات
String

تم إلغاء

public boolean isCancelled ()

عائدات
boolean