PenerimaOutputOutput
public
class
CollectingOutputReceiver
extends Object
implements
IShellOutputReceiver
java.lang.Object | |
↳ | com.android.tradefed.device.CollectingOutputReceiver |
IShellOutputReceiver
yang mengumpulkan seluruh output shell menjadi satu
String
.
Ringkasan
Konstruktor publik | |
---|---|
CollectingOutputReceiver()
|
Metode publik | |
---|---|
void
|
addOutput(byte[] data, int offset, int length)
|
void
|
cancel()
Membatalkan pengumpulan output |
void
|
clearBuffer()
Hapus konten buffer. |
void
|
flush()
|
String
|
getOutput()
|
boolean
|
isCancelled()
|
Konstruktor publik
PenerimaOutputOutput
public CollectingOutputReceiver ()
Metode publik
addOutput
public void addOutput (byte[] data, int offset, int length)
Parameter | |
---|---|
data |
byte |
offset |
int |
length |
int |
batal
public void cancel ()
Membatalkan pengumpulan output
clearBuffer
public void clearBuffer ()
Hapus konten buffer.
{i>flush<i}
public void flush ()
getOutput
public String getOutput ()
Hasil | |
---|---|
String |
dibatalkan
public boolean isCancelled ()
Hasil | |
---|---|
boolean |