|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.android.ddmlib.NullOutputReceiver
public final class NullOutputReceiver
Implementation of IShellOutputReceiver that does nothing.
| Constructor Summary | |
|---|---|
NullOutputReceiver()
|
|
| Method Summary | |
|---|---|
void |
addOutput(byte[] data,
int offset,
int length)
Called every time some new data is available. |
void |
flush()
Called at the end of the process execution (unless the process was canceled). |
static IShellOutputReceiver |
getReceiver()
|
boolean |
isCancelled()
Cancel method to stop the execution of the remote shell command. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullOutputReceiver()
| Method Detail |
|---|
public static IShellOutputReceiver getReceiver()
public void addOutput(byte[] data,
int offset,
int length)
IShellOutputReceiver
addOutput in interface IShellOutputReceiverdata - The new data.offset - The offset at which the new data starts.length - The length of the new data.public void flush()
IShellOutputReceiver
flush in interface IShellOutputReceiverpublic boolean isCancelled()
IShellOutputReceiver
isCancelled in interface IShellOutputReceiver
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||