public class BuffReaderParseFactory extends Object implements ParserFactory
| Constructor and Description | 
|---|
BuffReaderParseFactory()  | 
| Modifier and Type | Method and Description | 
|---|---|
static ParserFactory | 
getInstance()  | 
Parser | 
newDelimitedParser(Connection con,
                  InputStream dataSourceStream,
                  String dataDefinition,
                  char delimiter,
                  char qualifier,
                  boolean ignoreFirstRecord)
Constructs a new DataSet using the
 database table file layout method. 
 | 
Parser | 
newDelimitedParser(Connection con,
                  Reader dataSource,
                  String dataDefinition,
                  char delimiter,
                  char qualifier,
                  boolean ignoreFirstRecord)
Not supported at this time. 
 | 
Parser | 
newDelimitedParser(File dataSource,
                  char delimiter,
                  char qualifier)
Constructs a new DataSet using the first line of data found in the text
 file as the column names. 
 | 
Parser | 
newDelimitedParser(File pzmapXML,
                  File dataSource,
                  char delimiter,
                  char qualifier,
                  boolean ignoreFirstRecord)
Constructs a new DataSet using the PZMAP XML file layout method. 
 | 
Parser | 
newDelimitedParser(InputStream dataSourceStream,
                  char delimiter,
                  char qualifier)
Constructs a new DataSet using the first line of data found in the text
 file as the column names. 
 | 
Parser | 
newDelimitedParser(InputStream pzmapXMLStream,
                  InputStream dataSourceStream,
                  char delimiter,
                  char qualifier,
                  boolean ignoreFirstRecord)
New constructor based on InputStream. 
 | 
Parser | 
newDelimitedParser(Reader dataSource,
                  char delimiter,
                  char qualifier)
Constructs a new DataSet using the first line of data found in the text
 file as the column names. 
 | 
Parser | 
newDelimitedParser(Reader pzmapXML,
                  Reader dataSource,
                  char delimiter,
                  char qualifier,
                  boolean ignoreFirstRecord)
Constructs a new DataSet using the PZMAP XML file layout method. 
 | 
Parser | 
newFixedLengthParser(Connection con,
                    File dataSource,
                    String dataDefinition)
Not supported at this time. 
 | 
Parser | 
newFixedLengthParser(Connection con,
                    InputStream dataSourceStream,
                    String dataDefinition)
Not supported at this time. 
 | 
Parser | 
newFixedLengthParser(Connection con,
                    Reader dataSource,
                    String dataDefinition)
Constructs a new DataSet using the database table file layout method. 
 | 
Parser | 
newFixedLengthParser(File pzmapXML,
                    File dataSource)
Constructs a new DataSet using the PZMAP XML file layout method. 
 | 
Parser | 
newFixedLengthParser(InputStream pzmapXMLStream,
                    InputStream dataSourceStream)
New constructor based on InputStream. 
 | 
Parser | 
newFixedLengthParser(Reader pzmapXMLStream,
                    Reader dataSource)
New constructor based on Reader. 
 | 
public static ParserFactory getInstance()
public Parser newFixedLengthParser(Connection con, File dataSource, String dataDefinition)
newFixedLengthParser in interface ParserFactorycon - -
            Connection to database with DATAFILE and DATASTRUCTURE tables,
            user is responsible for closing it.dataSource - -
            Fixed length file to read fromdataDefinition - -
            Name of dataDefinition in the DATAFILE table DATAFILE_DESC
            columnpublic Parser newFixedLengthParser(Connection con, InputStream dataSourceStream, String dataDefinition)
newFixedLengthParser in interface ParserFactorycon - -
            Connection to database with DATAFILE and DATASTRUCTURE tables,
            user is responsible for closing it.dataSourceStream - -
            text file datasource InputStream to read fromdataDefinition - -
            Name of dataDefinition in the DATAFILE table DATAFILE_DESC
            columnpublic Parser newFixedLengthParser(File pzmapXML, File dataSource)
ParserFactorynewFixedLengthParser in interface ParserFactorypzmapXML - -
            Reference to the xml file holding the pzmapdataSource - -
            Delimited file to read frompublic Parser newFixedLengthParser(Connection con, Reader dataSource, String dataDefinition)
ParserFactorynewFixedLengthParser in interface ParserFactorycon - -
            Connection to database with DATAFILE and DATASTRUCTURE tables,
            user is responsible for closing it.dataSource - -
            Fixed length file to read fromdataDefinition - -
            Name of dataDefinition in the DATAFILE table DATAFILE_DESC
            columnpublic Parser newFixedLengthParser(Reader pzmapXMLStream, Reader dataSource)
ParserFactorynewFixedLengthParser in interface ParserFactorypzmapXMLStream - -
            Reference to the xml Reader holding the pzmap, user
            must close them after use.dataSource - -
            Delimited file Reader to read from, user must close them
            after use.public Parser newFixedLengthParser(InputStream pzmapXMLStream, InputStream dataSourceStream)
ParserFactorynewFixedLengthParser in interface ParserFactorypzmapXMLStream - -
            Reference to the xml file InputStream holding the pzmap, user
            must close them after use.dataSourceStream - -
            Delimited file InputStream to read from, user must close them
            after use.public Parser newDelimitedParser(Connection con, InputStream dataSourceStream, String dataDefinition, char delimiter, char qualifier, boolean ignoreFirstRecord)
ParserFactorynewDelimitedParser in interface ParserFactorycon - -
            Connection to database with DATAFILE and DATASTRUCTURE tables,
            user must close it when done.dataSourceStream - -
            text file datasource InputStream to read from, user must close
            it when done.dataDefinition - -
            Name of dataDefinition in the DATAFILE table DATAFILE_DESC
            columndelimiter - -
            Char the file is delimited Byqualifier - -
            Char text is qualified byignoreFirstRecord - -
            skips the first line that contains data in the filepublic Parser newDelimitedParser(File pzmapXML, File dataSource, char delimiter, char qualifier, boolean ignoreFirstRecord)
ParserFactorynewDelimitedParser in interface ParserFactorypzmapXML - -
            Reference to the xml file holding the pzmapdataSource - -
            text file datasource to read fromdelimiter - -
            Char the file is delimited Byqualifier - -
            Char text is qualified byignoreFirstRecord - -
            skips the first line that contains data in the filepublic Parser newDelimitedParser(InputStream pzmapXMLStream, InputStream dataSourceStream, char delimiter, char qualifier, boolean ignoreFirstRecord)
ParserFactorynewDelimitedParser in interface ParserFactorypzmapXMLStream - -
            Reference to the xml file holding the pzmap, user must close
            it when done.dataSourceStream - -
            text file datasource InputStream to read from, user must close
            it when done.delimiter - -
            Char the file is delimited Byqualifier - -
            Char text is qualified byignoreFirstRecord - -
            skips the first line that contains data in the filepublic Parser newDelimitedParser(File dataSource, char delimiter, char qualifier)
ParserFactorynewDelimitedParser in interface ParserFactorydataSource - -
            text file datasource to read fromdelimiter - -
            Char the file is delimited Byqualifier - -
            Char text is qualified bypublic Parser newDelimitedParser(InputStream dataSourceStream, char delimiter, char qualifier)
ParserFactorynewDelimitedParser in interface ParserFactorydataSourceStream - -
            text file InputStream to read from, user must close it when
            done.delimiter - -
            Char the file is delimited Byqualifier - -
            Char text is qualified bypublic Parser newDelimitedParser(Connection con, Reader dataSource, String dataDefinition, char delimiter, char qualifier, boolean ignoreFirstRecord)
newDelimitedParser in interface ParserFactorycon - -
            Connection to database with DATAFILE and DATASTRUCTURE tables,
            user must close it when done.dataSource - -
            text file datasource InputStream to read from, user must close
            it when done.dataDefinition - -
            Name of dataDefinition in the DATAFILE table DATAFILE_DESC
            columndelimiter - -
            Char the file is delimited Byqualifier - -
            Char text is qualified byignoreFirstRecord - -
            skips the first line that contains data in the filepublic Parser newDelimitedParser(Reader dataSource, char delimiter, char qualifier)
ParserFactorynewDelimitedParser in interface ParserFactorydataSource - -
            text file datasource to read fromdelimiter - -
            Char the file is delimited Byqualifier - -
            Char text is qualified bypublic Parser newDelimitedParser(Reader pzmapXML, Reader dataSource, char delimiter, char qualifier, boolean ignoreFirstRecord)
ParserFactorynewDelimitedParser in interface ParserFactorypzmapXML - -
            Reference to the xml file holding the pzmapdataSource - -
            text file datasource to read fromdelimiter - -
            Char the file is delimited Byqualifier - -
            Char text is qualified byignoreFirstRecord - -
            skips the first line that contains data in the fileCopyright © 2006–2021 Appendium - Portfolio Financing Platform. All rights reserved.