public final class FixedWidthParserUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getCMDKey(MetaData columnMD,
String line)
Returns the key to the list of ColumnMetaData objects.
|
static List<String> |
splitFixedText(List<ColumnMetaData> columnMetaData,
String lineToParse,
boolean preserveLeadingWhitespace,
boolean preserveTrailingWhitespace)
Splits up a fixed width line of text
|
public static List<String> splitFixedText(List<ColumnMetaData> columnMetaData, String lineToParse, boolean preserveLeadingWhitespace, boolean preserveTrailingWhitespace)
columnMetaData
- Collection of ColumnMetaData to parse the linelineToParse
- Line of text to be parsed against the ColumnMetaDatapreserveLeadingWhitespace
- Keep any leading spacespreserveTrailingWhitespace
- Keep any trailing spacesCopyright © 2006–2021 Appendium - Portfolio Financing Platform. All rights reserved.