net.bzzt.swift.mt940.exporter
Class Mt940Exporter

java.lang.Object
  extended by net.bzzt.swift.mt940.exporter.Mt940Exporter

public class Mt940Exporter
extends java.lang.Object

The Mt940 Exporter converts a parsed Mt940File to jGnash-specific Double-entry Transaction objects.

Version:
$Id$
Author:
arnouten

Constructor Summary
private Mt940Exporter()
           
 
Method Summary
private static ImportTransaction convert(Mt940Entry entry)
          Convert a single Mt940-entry to a jGnash-Transaction
static ImportBank convert(Mt940File file)
           
(package private) static java.util.List<ImportTransaction> convertTransactions(Mt940File file)
          Convert an entire Mt940File to Transactions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mt940Exporter

private Mt940Exporter()
Method Detail

convert

public static ImportBank convert(Mt940File file)

convertTransactions

static java.util.List<ImportTransaction> convertTransactions(Mt940File file)
Convert an entire Mt940File to Transactions

Parameters:
file - file to import
Returns:
list of import transactions

convert

private static ImportTransaction convert(Mt940Entry entry)
Convert a single Mt940-entry to a jGnash-Transaction

Parameters:
entry - Mt940Entry to convert
Returns:
new import transaction