public static class SynchronizedSpotDataParser.SynchronizedData extends 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 String[] |
data |
private BfsParser |
parser |
Constructor and Description |
---|
SynchronizedData(BfsParser parser) |
Modifier and Type | Method and Description |
---|---|
String[] |
getData()
Get the current data line, split into columns.
|
BfsParser |
getParser()
The underlying parser.
|
(package private) void |
setData(String[] data) |
SynchronizedData(BfsParser parser)