| org.kuali.kfs.bo.AccountingLineParser
All known Subclasses: org.kuali.kfs.bo.AccountingLineParserBase,
AccountingLineParser | public interface AccountingLineParser (Code) | | Defines an abstraction for parsing serialized AccountingLines
|
getExpectedAccountingLineFormatAsString | public String getExpectedAccountingLineFormatAsString(Class<? extends AccountingLine> accountingLineClass)(Code) | | Parameters: accountingLineClass - String representation of the String[] attribute format with each attribute seperated by a comma. |
getSourceAccountingLineFormat | public String[] getSourceAccountingLineFormat()(Code) | | SourceAccountingLine attribute format |
getTargetAccountingLineFormat | public String[] getTargetAccountingLineFormat()(Code) | | TargetAccountingLine attribute format |
importSourceAccountingLines | public List importSourceAccountingLines(String fileName, InputStream stream, AccountingDocument document)(Code) | | generates a list of SourceAccountingLine from the inputStream
Parameters: stream - Parameters: document - List containing SourceAccountingLine s |
importTargetAccountingLines | public List importTargetAccountingLines(String fileName, InputStream stream, AccountingDocument document)(Code) | | generates a list of TargetAccountingLine from the inputStream
Parameters: stream - Parameters: document - List containing SourceAccountingLine s |
parseSourceAccountingLine | public SourceAccountingLine parseSourceAccountingLine(AccountingDocument transactionalDocument, String sourceAccountingLineString)(Code) | | parses a comma deliminated string into an SourceAccountingLine by populating the attributes found in the
getSourceAccountingLineFormat()
Parameters: transactionalDocument - Parameters: sourceAccountingLineString - SourceAccountingLine |
parseTargetAccountingLine | public TargetAccountingLine parseTargetAccountingLine(AccountingDocument transactionalDocument, String targetAccountingLineString)(Code) | | parses a comma deliminated string into an TargetAccountingLine by populating the attributes found in the
getTargetAccountingLineFormat()
Parameters: transactionalDocument - Parameters: targetAccountingLineString - TargetAccountingLine |
|
|