|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectUI.Run.GEVAStreamReader.Event
public static class GEVAStreamReader.Event
Event data for stream reading listeners
Constructor Summary | |
---|---|
GEVAStreamReader.Event(java.lang.String line,
int streamId)
Create an event which is a line read from the stream plus the id of the stream read from (ID_STD_OUT or ID_ERR_OUT) |
Method Summary | |
---|---|
java.lang.String |
getLine()
Get the line read from the stream. |
int |
getStreamId()
Get the id of the stream that the line was read from, either ID_STD_OUT or ID_ERR_OUT |
boolean |
isEndOfStream()
Returns true when the event has been generated because the stream ended. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GEVAStreamReader.Event(java.lang.String line, int streamId)
line
- The line read or null if the end of stream has been
reachedMethod Detail |
---|
public java.lang.String getLine()
public int getStreamId()
public boolean isEndOfStream()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |