qflib 0.99

de.qfs.lib.util
Class StreamEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byde.qfs.lib.util.StreamEvent
All Implemented Interfaces:
java.io.Serializable

public class StreamEvent
extends java.util.EventObject

Encapsulation of date received from a Stream or Reader.

Since:
0.99.0
Author:
Gregor Schmid
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
StreamEvent(java.lang.Object source)
          Create a new StreamEvent.
StreamEvent(java.lang.Object source, char[] data)
          Create a new StreamEvent.
 
Method Summary
 char[] getData()
          Get the newly arrived data.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StreamEvent

public StreamEvent(java.lang.Object source,
                   char[] data)
Create a new StreamEvent.

Parameters:
source - The source of the event.
data - The newly arrived data.

StreamEvent

public StreamEvent(java.lang.Object source)
Create a new StreamEvent.

Parameters:
source - The source of the event.
Method Detail

getData

public final char[] getData()
Get the newly arrived data.

Returns:
The newly arrived data.

qflib 0.99