class OutputListener extends java.lang.Object implements JobOutputListener
Modifier and Type | Field and Description |
---|---|
private java.lang.StringBuffer |
outputBuf |
Constructor and Description |
---|
OutputListener() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOutput() |
boolean |
hasData() |
void |
outputChanged(java.lang.String output)
It is called whenever the job's output
has been updated.
|
void |
outputClosed()
It is called whenever job finished
and no more output will be generated.
|
public void outputChanged(java.lang.String output)
JobOutputListener
outputChanged
in interface JobOutputListener
output
- new outputpublic void outputClosed()
JobOutputListener
outputClosed
in interface JobOutputListener
public java.lang.String getOutput()
public boolean hasData()