2.17.2: 2011-06-17

net.sf.basedb.util.importer.spotdata
Class SynchronizedSpotDataParser.SynchronizedData

java.lang.Object
  extended by 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.


Field Summary
private  String[] data
           
private  BfsParser parser
           
 
Constructor Summary
SynchronizedSpotDataParser.SynchronizedData(BfsParser parser)
           
 
Method Summary
 String[] getData()
          Get the current data line, split into columns.
 BfsParser getParser()
          The underlying parser.
(package private)  void setData(String[] data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parser

private final BfsParser parser

data

private String[] data
Constructor Detail

SynchronizedSpotDataParser.SynchronizedData

SynchronizedSpotDataParser.SynchronizedData(BfsParser parser)
Method Detail

setData

void setData(String[] data)

getData

public String[] getData()
Get the current data line, split into columns.


getParser

public BfsParser getParser()
The underlying parser.


2.17.2: 2011-06-17