Class TabularTextImporter

java.lang.Object
com.infinitekind.moneydance.model.txtimport.TabularTextImporter

public class TabularTextImporter
extends java.lang.Object
Class that imports transactions from a text file with multiple lines. Handles many delimiters, with a pre-scanning mode that attempts to detect field delimiters, decimal point characters, field types, and date format.
Since:
Moneydance 2017.3 build 1605
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.util.List<java.lang.Character> DEFAULT_DELIMITERS  
    static java.util.List<java.lang.String> IMPORTABLE_TEXT_FILE_EXTENSIONS  
  • Constructor Summary

    Constructors 
    Constructor Description
    TabularTextImporter​(AccountBook book, TabularTextImportSpec importSpec)  
  • Method Summary

    Modifier and Type Method Description
    TabularTextImportSpec getDiscoveredSpec()
    Get the import spec that was set using values discovered from running the most recent import.
    void performImport​(java.io.Reader reader)
    Do the import, with the current set of parameters.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • getDiscoveredSpec

      public TabularTextImportSpec getDiscoveredSpec()
      Get the import spec that was set using values discovered from running the most recent import. The discovered import spec can be used to set default import fields after performing a test import
    • performImport

      public void performImport​(java.io.Reader reader) throws java.lang.Exception
      Do the import, with the current set of parameters.
      Throws:
      java.lang.Exception