Class SynchronizedSpotDataParser.SynchronizedData
- java.lang.Object
-
- net.sf.basedb.util.importer.spotdata.SynchronizedSpotDataParser.SynchronizedData
-
- Enclosing class:
- SynchronizedSpotDataParser
public static class SynchronizedSpotDataParser.SynchronizedData extends Object
This class holds information that is sent to the event handler whenSynchronizedSpotDataParser.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.
-
-
Constructor Summary
Constructors Constructor Description SynchronizedData(BfsParser parser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getData()
Get the current data line, split into columns.BfsParser
getParser()
The underlying parser.(package private) void
setData(String[] data)
-
-
-
Constructor Detail
-
SynchronizedData
SynchronizedData(BfsParser parser)
-
-