Package org.compiere.impexp
Class OFXFileBankStatementLoader
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.compiere.impexp.OFXBankStatementHandler
org.compiere.impexp.OFXFileBankStatementLoader
- All Implemented Interfaces:
BankStatementLoaderInterface
,ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
public final class OFXFileBankStatementLoader
extends OFXBankStatementHandler
implements BankStatementLoaderInterface
Loader for OFX bank statements (file based)
- Version:
- $Id:
- Author:
- Eldir Tomassen
-
Nested Class Summary
Nested classes/interfaces inherited from class org.compiere.impexp.OFXBankStatementHandler
OFXBankStatementHandler.StatementLine
-
Field Summary
Fields inherited from class org.compiere.impexp.OFXBankStatementHandler
DATE_FORMAT_LENGTH, GMT_TIME_ZONE, HEADER_SIZE, m_bankAccountNo, m_controller, m_currency, m_dateLastRun, m_errorDescription, m_errorMessage, m_line, m_parser, m_reader, m_routingNo, m_statementDate, m_success, m_test, m_valueBuffer, TIME_FORMAT_LENGTH, XML_ACCTID_TAG, XML_ACCTKEY_TAG, XML_ACCTTYPE_TAG, XML_ACCTTYPE2_TAG, XML_AVAILBAL_TAG, XML_BALAMT_TAG, XML_BANKACCTFROM_TAG, XML_BANKID_TAG, XML_BANKTRANLIST_TAG, XML_BRANCHID_TAG, XML_CHECKNUM_TAG, XML_CHKNUM_TAG, XML_CURDEF_TAG, XML_DTASOF_TAG, XML_DTAVAIL_TAG, XML_DTEND_TAG, XML_DTPOSTED_TAG, XML_DTPROFUP_TAG, XML_DTSERVER_TAG, XML_DTSTART_TAG, XML_FITID_TAG, XML_LANGUAGE_TAG, XML_LEDGERBAL_TAG, XML_MEMO_TAG, XML_MKTGINFO_TAG, XML_NAME_TAG, XML_OFX_TAG, XML_PAYEE_TAG, XML_PAYEEID_TAG, XML_REFNUM_TAG, XML_SIGNONMSGSRSV1_TAG, XML_SIGNONMSGSRSV2_TAG, XML_SONRS_TAG, XML_STATUS_TAG, XML_STMTRS_TAG, XML_STMTTRN_TAG, XML_TRNAMT_TAG, XML_TRNTYPE_TAG, XML_TSKEYEXPIRE_TAG, XML_USERKEY_TAG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(char[] ch, int start, int length) Characters read from XML are assigned to a variable, based on the current m_context.boolean
init
(MBankStatementLoader controller) Method initMethods inherited from class org.compiere.impexp.OFXBankStatementHandler
attachInput, endElement, getBankAccountNo, getChargeAmt, getChargeName, getCheckNo, getCurrency, getDateLastRun, getIBAN, getInterestAmt, getIsReversal, getLastErrorDescription, getLastErrorMessage, getMemo, getPayeeAccountNo, getPayeeName, getReference, getRoutingNo, getStatementDate, getStatementLineDate, getStatementReference, getStmtAmt, getTrxAmt, getTrxID, getTrxType, getValutaDate, importSuccessfull, isValid, loadLines, parseDate, parseTimeZone, startElement
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.compiere.impexp.BankStatementLoaderInterface
getBankAccountNo, getChargeAmt, getChargeName, getCheckNo, getCurrency, getDateLastRun, getIBAN, getInterestAmt, getIsReversal, getLastErrorDescription, getLastErrorMessage, getMemo, getPayeeAccountNo, getPayeeName, getReference, getRoutingNo, getStatementDate, getStatementLineDate, getStatementReference, getStmtAmt, getTrxAmt, getTrxID, getTrxType, getValutaDate, isValid, loadLines
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
OFXFileBankStatementLoader
public OFXFileBankStatementLoader()
-
-
Method Details
-
init
Method init- Specified by:
init
in interfaceBankStatementLoaderInterface
- Overrides:
init
in classOFXBankStatementHandler
- Parameters:
controller
- MBankStatementLoader- Returns:
- boolean
- See Also:
-
characters
Description copied from class:OFXBankStatementHandler
Characters read from XML are assigned to a variable, based on the current m_context. No checks are being done, it is assumed that the context is correct.- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classOFXBankStatementHandler
- Parameters:
ch
- char[]start
- intlength
- int- Throws:
SAXException
- See Also:
-