Class FileDirectDataLoaderTask

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<org.apache.tools.ant.types.FileSet> fileSets  
      • Fields inherited from class org.apache.tools.ant.Task

        description, location, target, taskName, taskType, wrapper
      • Fields inherited from class org.apache.tools.ant.ProjectComponent

        project
    • Field Detail

      • fileSets

        protected java.util.List<org.apache.tools.ant.types.FileSet> fileSets
    • Constructor Detail

      • FileDirectDataLoaderTask

        public FileDirectDataLoaderTask()
    • Method Detail

      • addFileSet

        public void addFileSet​(org.apache.tools.ant.types.FileSet fileSet)
        Add a FileSet to read from.
        Parameters:
        fileSet - the FileSet
      • processFile

        public abstract void processFile​(java.io.File file)
        Called by process() once for each File we need to process. This should be implemented in the sub-classes to call DirectDataLoader.createObject() and DirectDataLoader.store().
        Parameters:
        file - the File