public interface AccountingLineParser
AccountingLines
Modifier and Type | Method and Description |
---|---|
String |
getExpectedAccountingLineFormatAsString(Class<? extends AccountingLine> accountingLineClass) |
String[] |
getSourceAccountingLineFormat() |
String[] |
getTargetAccountingLineFormat() |
List |
importSourceAccountingLines(String fileName,
InputStream stream,
AccountingDocument document)
generates a list of
SourceAccountingLine from the inputStream |
List |
importTargetAccountingLines(String fileName,
InputStream stream,
AccountingDocument document)
generates a list of
TargetAccountingLine from the inputStream |
SourceAccountingLine |
parseSourceAccountingLine(AccountingDocument transactionalDocument,
String sourceAccountingLineString)
parses a comma deliminated string into an
SourceAccountingLine by populating the attributes found in the
getSourceAccountingLineFormat() |
TargetAccountingLine |
parseTargetAccountingLine(AccountingDocument transactionalDocument,
String targetAccountingLineString)
parses a comma deliminated string into an
TargetAccountingLine by populating the attributes found in the
getTargetAccountingLineFormat() |
String[] getSourceAccountingLineFormat()
SourceAccountingLine
attribute formatString[] getTargetAccountingLineFormat()
TargetAccountingLine
attribute formatString getExpectedAccountingLineFormatAsString(Class<? extends AccountingLine> accountingLineClass)
accountingLineClass
- String[]
attribute format with each attribute seperated by a comma.SourceAccountingLine parseSourceAccountingLine(AccountingDocument transactionalDocument, String sourceAccountingLineString)
SourceAccountingLine
by populating the attributes found in the
getSourceAccountingLineFormat()transactionalDocument
- sourceAccountingLineString
- TargetAccountingLine parseTargetAccountingLine(AccountingDocument transactionalDocument, String targetAccountingLineString)
TargetAccountingLine
by populating the attributes found in the
getTargetAccountingLineFormat()transactionalDocument
- targetAccountingLineString
- List importSourceAccountingLines(String fileName, InputStream stream, AccountingDocument document)
SourceAccountingLine
from the inputStreamstream
- document
- SourceAccountingLine
sList importTargetAccountingLines(String fileName, InputStream stream, AccountingDocument document)
TargetAccountingLine
from the inputStreamstream
- document
- SourceAccountingLine
sCopyright © 2004–2015 The Kuali Foundation. All rights reserved.