Class DirectoryConverterTask


  • public class DirectoryConverterTask
    extends ConverterTask
    Initiates retrieval and conversion of data from a source directory.
    Author:
    Julie Sullivan
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String clsName  
      protected java.lang.String dataDir  
      • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()
      Run the task.
      void setClsName​(java.lang.String clsName)
      Set the source specific subclass of DirectoryConverter to run
      void setDataDir​(java.lang.String dataDir)
      Set the dataDir.
      • Methods inherited from class org.apache.tools.ant.Task

        getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
      • Methods inherited from class org.apache.tools.ant.ProjectComponent

        getProject, setProject
      • Methods inherited from class java.lang.Object

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

      • dataDir

        protected java.lang.String dataDir
      • clsName

        protected java.lang.String clsName
    • Constructor Detail

      • DirectoryConverterTask

        public DirectoryConverterTask()
    • Method Detail

      • setClsName

        public void setClsName​(java.lang.String clsName)
        Set the source specific subclass of DirectoryConverter to run
        Parameters:
        clsName - name of converter class to run
      • setDataDir

        public void setDataDir​(java.lang.String dataDir)
        Set the dataDir.
        Parameters:
        dataDir - the name of a directory with data input files
      • execute

        public void execute()
        Run the task.
        Overrides:
        execute in class org.apache.tools.ant.Task
        Throws:
        org.apache.tools.ant.BuildException - if a problem occurs