org.enableit.db.ant
Class DataLoaderTask

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--org.enableit.db.ant.AbstractDBTask
                    |
                    +--org.enableit.db.ant.DataLoaderTask

public class DataLoaderTask
extends AbstractDBTask

A task to invoke the DataLoader class for a FileSet.


Field Summary
static java.lang.String ABOUT
          CVS info ABOUT this class and its current version
protected  java.util.Vector filesets
          The fileset.
protected static org.apache.log4j.Logger logger
          The Log4J Logger doing the logging.
 
Fields inherited from class org.enableit.db.ant.AbstractDBTask
driver, password, schemaName, url, userid
 
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
DataLoaderTask()
          Default Constructor
 
Method Summary
 void addFileset(org.apache.tools.ant.types.FileSet set)
          Adds a set of files (nested fileset attribute).
 void execute()
          Performs the copy operation.
 
Methods inherited from class org.enableit.db.ant.AbstractDBTask
setDriver, setPassword, setSchemaName, setUrl, setUserid
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
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

logger

protected static org.apache.log4j.Logger logger
The Log4J Logger doing the logging.


ABOUT

public static final java.lang.String ABOUT
CVS info ABOUT this class and its current version

See Also:
Constant Field Values

filesets

protected java.util.Vector filesets
The fileset.

Constructor Detail

DataLoaderTask

public DataLoaderTask()
Default Constructor

Method Detail

addFileset

public void addFileset(org.apache.tools.ant.types.FileSet set)
Adds a set of files (nested fileset attribute).


execute

public void execute()
             throws org.apache.tools.ant.BuildException
Performs the copy operation.

Specified by:
execute in class AbstractDBTask
org.apache.tools.ant.BuildException


Copyright © 1999-2004 enableIT.org. All Rights Reserved.