org.kuali.kfs.module.endow.businessobject
Class EndowmentTransactionLineParserBase

java.lang.Object
  extended by org.kuali.kfs.module.endow.businessobject.EndowmentTransactionLineParserBase
All Implemented Interfaces:
EndowmentTransactionLineParser

public class EndowmentTransactionLineParserBase
extends Object
implements EndowmentTransactionLineParser


Constructor Summary
EndowmentTransactionLineParserBase()
           
 
Method Summary
 String getExpectedTransactionLineFormatAsString(Class<? extends EndowmentTransactionLine> transactionLineClass)
           
 String[] getSourceTransactionLineFormat()
           
 String[] getTargetTransactionLineFormat()
           
 List importEndowmentSourceTransactionLines(String fileName, InputStream stream, EndowmentTransactionLinesDocument document)
          generates a list of EndowmentSourceTransactionLine from the inputStream
 List importEndowmentTargetTransactionLines(String fileName, InputStream stream, EndowmentTransactionLinesDocument document)
          generates a list of EndowmentTargetTransactionLine from the inputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndowmentTransactionLineParserBase

public EndowmentTransactionLineParserBase()
Method Detail

getExpectedTransactionLineFormatAsString

public String getExpectedTransactionLineFormatAsString(Class<? extends EndowmentTransactionLine> transactionLineClass)
Specified by:
getExpectedTransactionLineFormatAsString in interface EndowmentTransactionLineParser
Returns:
String representation of the String[] attribute format with each attribute separated by a comma.

getSourceTransactionLineFormat

public String[] getSourceTransactionLineFormat()
Specified by:
getSourceTransactionLineFormat in interface EndowmentTransactionLineParser
Returns:
EndowmentSourceTransactionLine attribute format

getTargetTransactionLineFormat

public String[] getTargetTransactionLineFormat()
Specified by:
getTargetTransactionLineFormat in interface EndowmentTransactionLineParser
Returns:
EndowmentTargetTransactionLine attribute format

importEndowmentSourceTransactionLines

public List importEndowmentSourceTransactionLines(String fileName,
                                                  InputStream stream,
                                                  EndowmentTransactionLinesDocument document)
Description copied from interface: EndowmentTransactionLineParser
generates a list of EndowmentSourceTransactionLine from the inputStream

Specified by:
importEndowmentSourceTransactionLines in interface EndowmentTransactionLineParser
Returns:
List containing EndowmentSourceTransactionLine

importEndowmentTargetTransactionLines

public List importEndowmentTargetTransactionLines(String fileName,
                                                  InputStream stream,
                                                  EndowmentTransactionLinesDocument document)
Description copied from interface: EndowmentTransactionLineParser
generates a list of EndowmentTargetTransactionLine from the inputStream

Specified by:
importEndowmentTargetTransactionLines in interface EndowmentTransactionLineParser
Returns:
List containing EndowmentTargetTransactionLine


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.