Class ImportContext

java.lang.Object
com.groiss.fileimport.ImportContext

public final class ImportContext extends Object
Holds settings of the current import-process.
  • Field Details

  • Constructor Details

  • Method Details

    • getImportMode

      public int getImportMode()
      returns the import-mode
      Returns:
      see INSERT, PARSE, PARSE_AND_LOAD
    • getFile

      public File getFile()
      returns the file to be loaded
      Returns:
    • getTargetClass

      public Class<? extends Persistent> getTargetClass()
      returns the Class to be instantiated
      Returns:
    • getKeyField

      public String getKeyField()
      returns the keyfield used to check for duplicates
      Returns: