Class SunNative2Ascii
java.lang.Object
org.apache.tools.ant.taskdefs.optional.native2ascii.DefaultNative2Ascii
org.apache.tools.ant.taskdefs.optional.native2ascii.SunNative2Ascii
- All Implemented Interfaces:
- Native2AsciiAdapter
Adapter to sun.tools.native2ascii.Main.
- Since:
- Ant 1.6.3
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanrun(Commandline cmd, ProjectComponent log) Executes the command.protected voidsetup(Commandline cmd, Native2Ascii args) Sets up the initial command line.Methods inherited from class org.apache.tools.ant.taskdefs.optional.native2ascii.DefaultNative2AsciiaddFiles, convert
- 
Field Details- 
IMPLEMENTATION_NAME
 
- 
- 
Constructor Details- 
SunNative2Asciipublic SunNative2Ascii()
 
- 
- 
Method Details- 
setupSets up the initial command line.only the -encoding argument and nested arg elements get handled here. - Overrides:
- setupin class- DefaultNative2Ascii
- Parameters:
- cmd- Command line to add to
- args- provides the user-setting and access to Ant's logging system.
- Throws:
- BuildException- if there was a problem.
 
- 
runExecutes the command.- Specified by:
- runin class- DefaultNative2Ascii
- Parameters:
- cmd- Command line to execute
- log- provides access to Ant's logging system.
- Returns:
- whether execution was successful
- Throws:
- BuildException- if there was a problem.
 
 
-