org.intermine.task
Class FileConverterTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.intermine.task.DynamicAttributeTask
              extended by org.intermine.task.ConverterTask
                  extended by org.intermine.task.FileConverterTask

public class FileConverterTask
extends ConverterTask

Initiates retrieval and conversion of data from a source file.


Field Summary
protected  java.lang.String clsName
           
protected  org.apache.tools.ant.types.FileSet fileSet
           
protected static org.apache.log4j.Logger LOG
           
 
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
 
Constructor Summary
FileConverterTask()
           
 
Method Summary
 void addFileSet(org.apache.tools.ant.types.FileSet fileSet)
          Set the data fileset
 void execute()
          Run the task
 void 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
 
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

LOG

protected static final org.apache.log4j.Logger LOG

fileSet

protected org.apache.tools.ant.types.FileSet fileSet

clsName

protected java.lang.String clsName
Constructor Detail

FileConverterTask

public FileConverterTask()
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 class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException - if a problem occurs