Interface TransactionParser
- All Superinterfaces:
GenericParser
- All Known Implementing Classes:
CsvTransactionParser
Defines a
Transaction parser.- Version:
- 2.0.3
- Author:
- Stephen Prizio
-
Method Summary
Modifier and TypeMethodDescriptiondefault ParsedDataDTO<Transaction> parseTransactions(String delimiter, File file, Account account) Parses a file of transactions into aParsedDataDTO.parseTransactions(String delimiter, File file, Account account, ZoneId zoneId) Parses a file of transactions into aParsedDataDTO.Methods inherited from interface GenericParser
validateParserParameters, validateParserParameters
-
Method Details
-
parseTransactions
default ParsedDataDTO<Transaction> parseTransactions(String delimiter, File file, Account account) throws IOException Parses a file of transactions into aParsedDataDTO.- Parameters:
delimiter- delimiterfile-Fileaccount-Account- Returns:
ParsedDataDTO- Throws:
IOException- io exception during file execution
-
parseTransactions
ParsedDataDTO<Transaction> parseTransactions(String delimiter, File file, Account account, ZoneId zoneId) throws IOException Parses a file of transactions into aParsedDataDTO.- Parameters:
delimiter- delimiterfile-Fileaccount-AccountzoneId- timezone used for naive timestamps- Returns:
ParsedDataDTO- Throws:
IOException- io exception during file execution
-