|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.android.ide.common.process.BaseProcessOutputHandler
com.android.ide.common.process.CachedProcessOutputHandler
public class CachedProcessOutputHandler
Implementation of ProcessOutputHandler that allows getting access to the output after
the call to ProcessExecutor.execute(ProcessInfo, ProcessOutputHandler)
.
This can only be used once since only a single process output is kept for query after
the process is run.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.android.ide.common.process.BaseProcessOutputHandler |
---|
BaseProcessOutputHandler.BaseProcessOutput |
Constructor Summary | |
---|---|
CachedProcessOutputHandler()
|
Method Summary | |
---|---|
ProcessOutput |
createOutput()
Creates a ProcessOutput to be used by the process executor. |
BaseProcessOutputHandler.BaseProcessOutput |
getProcessOutput()
|
void |
handleOutput(ProcessOutput processOutput)
Handles the output after the process has run. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachedProcessOutputHandler()
Method Detail |
---|
public BaseProcessOutputHandler.BaseProcessOutput getProcessOutput()
@NonNull public ProcessOutput createOutput()
ProcessOutputHandler
createOutput
in interface ProcessOutputHandler
createOutput
in class BaseProcessOutputHandler
public void handleOutput(@NonNull ProcessOutput processOutput) throws ProcessException
ProcessOutputHandler
ProcessExecutor.execute(ProcessInfo, ProcessOutputHandler)
returns.
processOutput
- the process output to handle
ProcessException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |