net.sf.flatpack.brparse
Class BuffReaderFixedParser

java.lang.Object
  extended by net.sf.flatpack.AbstractParser
      extended by net.sf.flatpack.AbstractFixedLengthParser
          extended by net.sf.flatpack.FixedLengthParser
              extended by net.sf.flatpack.brparse.BuffReaderFixedParser
All Implemented Interfaces:
Parser

public class BuffReaderFixedParser
extends FixedLengthParser


Constructor Summary
BuffReaderFixedParser(java.io.File pzmapXML, java.io.File dataSource)
           
BuffReaderFixedParser(java.io.InputStream pzmapXMLStream, java.io.InputStream dataSourceStream)
           
BuffReaderFixedParser(java.io.Reader pzmapXML, java.io.Reader dataSource)
           
 
Method Summary
 Row buildRow(DefaultDataSet ds)
          Reads in the next record on the file and return a row
 void close()
          Closes out the file readers
protected  DataSet doParse()
           
protected  void finalize()
           
 
Methods inherited from class net.sf.flatpack.FixedLengthParser
init
 
Methods inherited from class net.sf.flatpack.AbstractParser
addError, addError, addToCloseReaderList, addToMetaData, closeReaders, getDataDefinition, getDataFileTable, getDataSourceReader, getDataStructureTable, getPzMetaData, isColumnNamesCaseSensitive, isFlagEmptyRows, isHandlingShortLines, isIgnoreExtraColumns, isIgnoreParseWarnings, isInitialised, isNullEmptyStrings, isStoreRawDataToDataError, isStoreRawDataToDataSet, parse, setColumnNamesCaseSensitive, setDataDefinition, setDataFileTable, setDataSourceReader, setDataStructureTable, setFlagEmptyRows, setHandlingShortLines, setIgnoreExtraColumns, setIgnoreParseWarnings, setInitialised, setNullEmptyStrings, setPzMetaData, setStoreRawDataToDataError, setStoreRawDataToDataSet
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuffReaderFixedParser

public BuffReaderFixedParser(java.io.InputStream pzmapXMLStream,
                             java.io.InputStream dataSourceStream)

BuffReaderFixedParser

public BuffReaderFixedParser(java.io.File pzmapXML,
                             java.io.File dataSource)

BuffReaderFixedParser

public BuffReaderFixedParser(java.io.Reader pzmapXML,
                             java.io.Reader dataSource)
Method Detail

doParse

protected DataSet doParse()
Overrides:
doParse in class AbstractFixedLengthParser

buildRow

public Row buildRow(DefaultDataSet ds)
             throws java.io.IOException
Reads in the next record on the file and return a row

Parameters:
ds -
Returns:
Row
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Closes out the file readers

Throws:
java.io.IOException

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable


Copyright © 2006-2011 Appendium - Portfolio Financing Platform. All Rights Reserved.