| Access | Constructor and Description |
|---|---|
| public | FixedWidthRoutines()
Creates a new instance of the Fixed-width routine class without any predefined parsing/writing configuration. |
| public | FixedWidthRoutines(FixedWidthParserSettings
configuration to use for Fixed-width parsing parserSettings)Creates a new instance of the Fixed-width routine class. |
| public | FixedWidthRoutines(FixedWidthWriterSettings
configuration to use for Fixed-width writing writerSettings)Creates a new instance of the Fixed-width routine class. |
| public | FixedWidthRoutines(FixedWidthParserSettings
configuration to use for Fixed-width parsing parserSettings, FixedWidthWriterSettings configuration to use for Fixed-width writing writerSettings)Creates a new instance of the Fixed-width routine class. |
| Modifier and Type | Method and Description |
|---|---|
| protected void | adjustColumnLengths(String[]
headers to be written headers, int[] the corresponding lengths of each header lengths)Overrides com. |
| protected FixedWidthParserSettings | createDefaultParserSettings()
Implements abstract com. |
| protected FixedWidthWriterSettings | createDefaultWriterSettings()
Implements abstract com. |
| protected FixedWidthParser | createParser(FixedWidthParserSettings
the configuration for new parser parserSettings)Implements abstract com. |
| protected FixedWidthWriter | createWriter(Writer
target output of the routine. output, FixedWidthWriterSettings the configuration for new writer writerSettings)Implements abstract com. |
| FixedWidthRoutines | back to summary |
|---|---|
| public FixedWidthRoutines() Creates a new instance of the Fixed-width routine class without any predefined parsing/writing configuration. | |
| FixedWidthRoutines | back to summary |
|---|---|
| public FixedWidthRoutines(FixedWidthParserSettings parserSettings) Creates a new instance of the Fixed-width routine class.
| |
| FixedWidthRoutines | back to summary |
|---|---|
| public FixedWidthRoutines(FixedWidthWriterSettings writerSettings) Creates a new instance of the Fixed-width routine class.
| |
| FixedWidthRoutines | back to summary |
|---|---|
| public FixedWidthRoutines(FixedWidthParserSettings parserSettings, FixedWidthWriterSettings writerSettings) Creates a new instance of the Fixed-width routine class.
| |
| adjustColumnLengths | back to summary |
|---|---|
| protected void adjustColumnLengths(String[] headers, int[] lengths) Overrides com. Doc from com. Allows writers of any given format to adjust its settings to take into account column headers and lengths prior to writing data in any routine.
| |
| createDefaultParserSettings | back to summary |
|---|---|
| protected FixedWidthParserSettings createDefaultParserSettings() Implements abstract com. Doc from com. Creates a default parser settings configuration
| |
| createDefaultWriterSettings | back to summary |
|---|---|
| protected FixedWidthWriterSettings createDefaultWriterSettings() Implements abstract com. Doc from com. Creates a default writer settings configuration
| |
| createParser | back to summary |
|---|---|
| protected FixedWidthParser createParser(FixedWidthParserSettings parserSettings) Implements abstract com. Doc from com. Creates a new parser implementation using the given parser configuration
| |
| createWriter | back to summary |
|---|---|
| protected FixedWidthWriter createWriter(Writer output, FixedWidthWriterSettings writerSettings) Implements abstract com. Doc from com. Creates a new writer implementation using the given writer configuration
| |