Package org.jppf.process
Class ProcessWrapperEvent
java.lang.Object
java.util.EventObject
org.jppf.process.ProcessWrapperEvent
- All Implemented Interfaces:
Serializable
Instances of this class encapsulate an event occurring when a process writes to
its output or error stream.
- Author:
- Laurent Cohen
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionProcessWrapperEvent(String content) Initialize this event with the specified source. -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ProcessWrapperEvent
Initialize this event with the specified source.- Parameters:
content- the source of this event, in effect the content of the corresponding process stream.
-
-
Method Details
-
getContent
Get the content of this event.- Returns:
- the content as a string, which may include a line terminator.
-