| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LineParser
Defines an abstraction for parsing serialized PurApItem lines.
| Method Summary | |
|---|---|
|  List<EndowmentTransactionLine> | importLines(org.apache.struts.upload.FormFile lineFile,
                       Class<? extends EndowmentTransactionLine> lineClass,
                       String documentNumber)Parses the items from the specified import file line by line, and generates items of the specified type from the parsed data. | 
| Method Detail | 
|---|
List<EndowmentTransactionLine> importLines(org.apache.struts.upload.FormFile lineFile,
                                           Class<? extends EndowmentTransactionLine> lineClass,
                                           String documentNumber)
                                           throws Exception
itemFile - the input file from which items are parseditemClass - a subclass of PurApItem, of which new items shall be generateddocumentNumber - the number of the docment that contains the items to be imported
Exception| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||