public interface ParserFactory
Modifier and Type | Method and Description |
---|---|
Parser |
newDelimitedParser(Connection con,
InputStream dataSource,
String dataDefinition,
char delimiter,
char qualifier,
boolean ignoreFirstRecord)
Deprecated.
Please use the newDelimitedParser(Connection, Reader, String, char, char, boolean).
The InputStream can be wrapped in a "new InputStreamReader(InputStream)"
|
Parser |
newDelimitedParser(Connection con,
Reader dataSource,
String dataDefinition,
char delimiter,
char qualifier,
boolean ignoreFirstRecord)
New constructor based on Reader.
|
Parser |
newDelimitedParser(File dataSource,
char delimiter,
char qualifier)
Deprecated.
Please use the newDelimitedParser(Reader, char, char, boolean).
The InputStream can be wrapped in a "new FileReader(File)"
|
Parser |
newDelimitedParser(File pzmapXML,
File dataSource,
char delimiter,
char qualifier,
boolean ignoreFirstRecord)
Deprecated.
Please use the newDelimitedParser(Reader, Reader, String, char, char, boolean).
The File can be wrapped in a "new FileReader(File)"
|
Parser |
newDelimitedParser(InputStream dataSource,
char delimiter,
char qualifier)
Deprecated.
Please use the newDelimitedParser(Reader, char, char, boolean).
The InputStream can be wrapped in a "new InputStreamReader(InputStream)"
|
Parser |
newDelimitedParser(InputStream pzmapXMLStream,
InputStream dataSourceStream,
char delimiter,
char qualifier,
boolean ignoreFirstRecord)
Deprecated.
Please use the newDelimitedParser(Reader, Reader, String, char, char, boolean).
The InputStream can be wrapped in a "new InputStreamReader(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)
Deprecated.
Please use the newFixedLengthParser(Connection, Reader, String). The File can be
wrapped in a "new FileReader(File)"
|
Parser |
newFixedLengthParser(Connection con,
InputStream dataSourceStream,
String dataDefinition)
Deprecated.
Please use the newFixedLengthParser(Connection, Reader, String). The InputStream can be
wrapped in a "new InputStreamReader(InputStream)"
|
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)
Deprecated.
Please use the newFixedLengthParser(Reader, Reader). The File can be
wrapped in a "new FileReader(InputStream)"
|
Parser |
newFixedLengthParser(InputStream pzmapXMLStream,
InputStream dataSourceStream)
Deprecated.
Please use the newFixedLengthParser(Reader, Reader). The InputStream can be
wrapped in a "new InputStreamReader(InputStream)"
|
Parser |
newFixedLengthParser(Reader pzmapXMLStream,
Reader dataSource)
New constructor based on Reader.
|
@Deprecated Parser newFixedLengthParser(Connection con, File dataSource, String dataDefinition)
con
- -
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
column@Deprecated Parser newFixedLengthParser(Connection con, InputStream dataSourceStream, String dataDefinition)
con
- -
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
column@Deprecated Parser newFixedLengthParser(File pzmapXML, File dataSource)
pzmapXML
- -
Reference to the xml file holding the pzmapdataSource
- -
Delimited file to read from@Deprecated Parser newFixedLengthParser(InputStream pzmapXMLStream, InputStream dataSourceStream)
pzmapXMLStream
- -
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.Parser newFixedLengthParser(Connection con, Reader dataSource, String dataDefinition)
con
- -
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
columnParser newFixedLengthParser(Reader pzmapXMLStream, Reader dataSource)
pzmapXMLStream
- -
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.@Deprecated Parser newDelimitedParser(Connection con, InputStream dataSource, String dataDefinition, char delimiter, char qualifier, boolean ignoreFirstRecord)
con
- -
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 fileParser newDelimitedParser(Connection con, Reader dataSource, String dataDefinition, char delimiter, char qualifier, boolean ignoreFirstRecord)
con
- -
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 file@Deprecated Parser newDelimitedParser(File pzmapXML, File dataSource, char delimiter, char qualifier, boolean ignoreFirstRecord)
pzmapXML
- -
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 fileParser newDelimitedParser(Reader pzmapXML, Reader dataSource, char delimiter, char qualifier, boolean ignoreFirstRecord)
pzmapXML
- -
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 file@Deprecated Parser newDelimitedParser(InputStream pzmapXMLStream, InputStream dataSourceStream, char delimiter, char qualifier, boolean ignoreFirstRecord)
pzmapXMLStream
- -
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 file@Deprecated Parser newDelimitedParser(File dataSource, char delimiter, char qualifier)
dataSource
- -
text file datasource to read fromdelimiter
- -
Char the file is delimited Byqualifier
- -
Char text is qualified byParser newDelimitedParser(Reader dataSource, char delimiter, char qualifier)
dataSource
- -
text file datasource to read fromdelimiter
- -
Char the file is delimited Byqualifier
- -
Char text is qualified by@Deprecated Parser newDelimitedParser(InputStream dataSource, char delimiter, char qualifier)
dataSource
- -
text file InputStream to read from, user must close it when
done.delimiter
- -
Char the file is delimited Byqualifier
- -
Char text is qualified byCopyright © 2006–2021 Appendium - Portfolio Financing Platform. All rights reserved.