public class Native2Ascii extends MatchingTask
fileset| Constructor and Description | 
|---|
| Native2Ascii()No args constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| void | add(FileNameMapper fileNameMapper)A nested filenamemapper | 
| void | add(Native2AsciiAdapter adapter)Set the adapter explicitly. | 
| ImplementationSpecificArgument | createArg()Adds an implementation specific command-line argument. | 
| Path | createImplementationClasspath()The classpath to use when loading the native2ascii
 implementation if it is not a built-in one. | 
| Mapper | createMapper()Defines the FileNameMapper to use (nested mapper element). | 
| void | execute()Execute the task | 
| String[] | getCurrentArgs()Returns the (implementation specific) settings given as nested
 arg elements. | 
| String | getEncoding()The value of the encoding attribute. | 
| boolean | getReverse()The value of the reverse attribute. | 
| void | setDest(File destDir)Set the destination directory to place converted files into. | 
| void | setEncoding(String encoding)Set the encoding to translate to/from. | 
| void | setExt(String ext)Set the extension which converted files should have. | 
| void | setImplementation(String impl)Choose the implementation for this particular task. | 
| void | setReverse(boolean reverse)Flag the conversion to run in the reverse sense,
 that is Ascii to Native encoding. | 
| void | setSrc(File srcDir)Set the source directory in which to find files to convert. | 
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, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, 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, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocationpublic void add(FileNameMapper fileNameMapper)
fileNameMapper - the mapper to addpublic void add(Native2AsciiAdapter adapter)
public ImplementationSpecificArgument createArg()
public Path createImplementationClasspath()
public Mapper createMapper() throws BuildException
BuildException - if more than one mapper is defined.public void execute()
             throws BuildException
execute in class TaskBuildException - is there is a problem in the task execution.public String[] getCurrentArgs()
public String getEncoding()
public boolean getReverse()
public void setDest(File destDir)
destDir - directory to place output file into.public void setEncoding(String encoding)
encoding - String containing the name of the Native
                 encoding to convert from or to.public void setExt(String ext)
ext - File extension to use for converted files.public void setImplementation(String impl)
impl - the name of the implementationpublic void setReverse(boolean reverse)
reverse - True if the conversion is to be reversed,
                otherwise false;public void setSrc(File srcDir)
srcDir - directory to find input file in.