Class 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 Detail

      • IMPORTABLE_TEXT_FILE_EXTENSIONS

        public static final java.util.List<java.lang.String> IMPORTABLE_TEXT_FILE_EXTENSIONS
      • DEFAULT_DELIMITERS

        public static final java.util.List<java.lang.Character> DEFAULT_DELIMITERS
    • Method Detail

      • 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