public class ProcessorTask
extends org.apache.tools.ant.taskdefs.MatchingTask
and use it with:
Created: 14 janv. 2004
| Modifier and Type | Field and Description |
|---|---|
protected File |
destDir |
protected String |
encoding |
protected String[] |
excludes |
protected String |
fileInPattern |
protected String |
fileOutPattern |
protected String[] |
files |
protected String |
filters |
protected String[] |
includes |
static int |
MSG_VERBOSE |
protected boolean |
overwrite |
protected File |
srcDir |
protected boolean |
verbose |
| Constructor and Description |
|---|
ProcessorTask() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
absoluteDestinationName(String fileName) |
protected String |
absoluteSourceName(String fileName) |
protected String |
applyTransformationFilename(String filename) |
protected void |
buildFileList() |
protected void |
doExecute() |
void |
execute() |
protected String[] |
getExcludes() |
protected String[] |
getIncludes() |
protected boolean |
isNewer(String filein,
String fileout) |
void |
setDestdir(File destDir) |
void |
setEncoding(String encoding) |
void |
setExcludes(String excludes) |
void |
setExcludes(String[] excludes) |
void |
setFileInPattern(String fileInPattern) |
void |
setFileOutPattern(String fileOutPattern) |
void |
setFilters(String filters) |
void |
setIncludes(String includes) |
void |
setIncludes(String[] includes) |
void |
setOverwrite(boolean overwrite) |
void |
setSrcdir(File srcDir) |
void |
setVerbose(boolean verbose) |
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludesfile, setFollowSymlinks, setIncludesfile, setProject, XsetIgnore, XsetItemsbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic static final int MSG_VERBOSE
protected File srcDir
protected File destDir
protected String[] includes
protected String[] excludes
protected String[] files
protected String fileInPattern
protected String fileOutPattern
protected String filters
protected String encoding
protected boolean overwrite
protected boolean verbose
protected void doExecute()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildExceptionpublic void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionprotected void buildFileList()
protected String[] getExcludes()
protected String[] getIncludes()
public void setIncludes(String[] includes)
public void setIncludes(String includes)
setIncludes in class org.apache.tools.ant.taskdefs.MatchingTaskpublic void setExcludes(String[] excludes)
public void setExcludes(String excludes)
setExcludes in class org.apache.tools.ant.taskdefs.MatchingTaskpublic void setVerbose(boolean verbose)
public void setOverwrite(boolean overwrite)
public void setFileOutPattern(String fileOutPattern)
public void setFileInPattern(String fileInPattern)
public void setSrcdir(File srcDir)
public void setDestdir(File destDir)
public void setFilters(String filters)
public void setEncoding(String encoding)
Copyright © 2009–2015 CodeLutin. All rights reserved.