net.sf.basedb.util.importer.spotdata
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 when 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parser
private final BfsParser parser
data
private String[] data
SynchronizedSpotDataParser.SynchronizedData
SynchronizedSpotDataParser.SynchronizedData(BfsParser parser)
setData
void setData(String[] data)
getData
public String[] getData()
- Get the current data line, split into columns.
getParser
public BfsParser getParser()
- The underlying parser.