Class com.phrasys.events.LineEvent
java.lang.Object
|
+----java.util.EventObject
|
+----com.phrasys.events.LineEvent
- public class LineEvent
- extends java.util.EventObject
This class is used as a wrapper for lines as read by the
file reader.
- Version:
- 1.0 (13/02/99)
- Author:
- Oliver Mason
LineEvent(Object, String)
- Constructor.
getLine()
- Retrieve the line.
LineEvent
public LineEvent(java.lang.Object source,
java.lang.String line)
Constructor.
- Parameters:
source - the originating source (ie the tokeniser).
line - the line that has been read or null as EOF marker.
getLine
public java.lang.String getLine()
Retrieve the line.
The line that is transmitted using this event can be retrieved.
- Returns:
- the line or null if the EOF has been reached.