public static class SynchronizedSpotDataParser.SynchronizedData
extends java.lang.Object
SynchronizedSpotDataParser.DATA_EVENT
:s are
sent. Each instance contains information about the underlying
parser (master parser or data parser) and the data on the
line that is currently being processed.
NOTE! There is usually only one instance of this class for
each parser. If the event handler needs to collect information
accross multiple lines the data should be copied to the event
handler.Modifier and Type | Field and Description |
---|---|
private java.lang.String[] |
data |
private BfsParser |
parser |
Constructor and Description |
---|
SynchronizedData(BfsParser parser) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getData()
Get the current data line, split into columns.
|
BfsParser |
getParser()
The underlying parser.
|
(package private) void |
setData(java.lang.String[] data) |
private final BfsParser parser
private java.lang.String[] data
SynchronizedData(BfsParser parser)
void setData(java.lang.String[] data)
public java.lang.String[] getData()
public BfsParser getParser()