public class ReconciliationParserServiceImpl extends Object implements ReconciliationParserService
C tableid rowcount ; S field1 dollaramount ; S field2 dollaramount ; E checksum ;The character '#' and everything following it on that line is ignored. Whitespace characters are tab and space.
#parseReconciliationData(Reader, String)
. However, if the C lines of any blocks before the looked for block
are incorrect, then it is likely to cause undesired behavior.Constructor and Description |
---|
ReconciliationParserServiceImpl() |
Modifier and Type | Method and Description |
---|---|
ReconciliationBlock |
parseReconciliationBlock(Reader reader,
String tableId)
Parses a reconciliation file
|
protected String |
stripCommentsAndTrim(String line)
Removes comments and trims whitespace
|
public ReconciliationParserServiceImpl()
public ReconciliationBlock parseReconciliationBlock(Reader reader, String tableId) throws IOException
parseReconciliationBlock
in interface ReconciliationParserService
reader
- a source of data from which to build a reconciliationtableId
- defined within the reconciliation file; defines which block to parseIOException
- thrown if the file cannot be written for any reasonorg.kuali.ole.gl.batch.service.ReconciliationParserService#parseReconciliatioData(java.io.Reader)
protected String stripCommentsAndTrim(String line)
line
- the lineCopyright © 2004–2015 The Kuali Foundation. All rights reserved.