Class 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.
    • Constructor Detail

      • SynchronizedData

        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.