Package org.intermine.task
Class FileConverterTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.intermine.task.DynamicAttributeTask
-
- org.intermine.task.ConverterTask
-
- org.intermine.task.FileConverterTask
-
public class FileConverterTask extends ConverterTask
Initiates retrieval and conversion of data from a source file.- Author:
- Andrew Varley, Mark Woodbridge, Richard Smith, Matthew Wakeling, Thomas Riley
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
clsName
protected org.apache.tools.ant.types.FileSet
fileSet
protected static org.apache.log4j.Logger
LOG
-
Constructor Summary
Constructors Constructor Description FileConverterTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFileSet(org.apache.tools.ant.types.FileSet fileSet)
Set the data filesetvoid
execute()
Run the taskvoid
setClsName(java.lang.String clsName)
Set the source specific subclass of FileConverter to run-
Methods inherited from class org.intermine.task.ConverterTask
doSQL, getExcludeList, getModelName, getOsName, setExcludeList, setModelName, setOsName
-
Methods inherited from class org.intermine.task.DynamicAttributeTask
configureDynamicAttributes
-
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
-
-
-
-
Method Detail
-
setClsName
public void setClsName(java.lang.String clsName)
Set the source specific subclass of FileConverter to run- Parameters:
clsName
- name of converter class to run
-
addFileSet
public void addFileSet(org.apache.tools.ant.types.FileSet fileSet)
Set the data fileset- Parameters:
fileSet
- the fileset
-
execute
public void execute()
Run the task- Overrides:
execute
in classorg.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
- if a problem occurs
-
-