net.cafebabe.sat.xml
Class SplitTask

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--net.cafebabe.sat.util.FileTask
                    |
                    +--net.cafebabe.sat.xml.SplitTask

public class SplitTask
extends FileTask

Split a file using dedicated processing instructions.

Author:
Michel CASABIANCA

Field Summary
 
Fields inherited from class net.cafebabe.sat.util.FileTask
 
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
SplitTask()
          Empty constructor (needed for reflexion).
 
Method Summary
 void execute()
          The method to launch the program as an Ant task.
 void setPattern(java.lang.String pattern)
          Pattern setter.
 void setTimeFile(java.lang.String file)
          Set file for date reference.
 
Methods inherited from class net.cafebabe.sat.util.FileTask
addFileset, getFiles, getNewFiles, newerFilesThan, setDir, setFile
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, 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
 

Constructor Detail

SplitTask

public SplitTask()
Empty constructor (needed for reflexion).

Method Detail

setPattern

public void setPattern(java.lang.String pattern)
Pattern setter.

Parameters:
pattern - The pattern to search.

setTimeFile

public void setTimeFile(java.lang.String file)
Set file for date reference.

Parameters:
file - The reference file as a String

execute

public void execute()
The method to launch the program as an Ant task.

Overrides:
execute in class org.apache.tools.ant.Task