Class KaffeNative2Ascii
java.lang.Object
org.apache.tools.ant.taskdefs.optional.native2ascii.DefaultNative2Ascii
org.apache.tools.ant.taskdefs.optional.native2ascii.KaffeNative2Ascii
- All Implemented Interfaces:
Native2AsciiAdapter
Adapter to kaffe.tools.native2ascii.Native2Ascii.
- Since:
- Ant 1.6.3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier 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 DefaultNative2Ascii
addFiles, convertModifier and TypeMethodDescriptionprotected voidaddFiles(Commandline cmd, ProjectComponent log, File src, File dest) Adds source and dest files to the command line.final booleanconvert(Native2Ascii args, File srcFile, File destFile) Splits the task into setting up the command line switches
-
Field Details
-
IMPLEMENTATION_NAME
-
-
Constructor Details
-
KaffeNative2Ascii
public KaffeNative2Ascii()
-
-
Method Details
-
setup
Sets up the initial command line.only the -encoding argument and nested arg elements get handled here.
- Overrides:
setupin classDefaultNative2Ascii- Parameters:
cmd- Command line to add toargs- provides the user-setting and access to Ant's logging system.- Throws:
BuildException- if there was a problem.
-
run
Executes the command.- Specified by:
runin classDefaultNative2Ascii- Parameters:
cmd- Command line to executelog- provides access to Ant's logging system.- Returns:
- whether execution was successful
- Throws:
BuildException- if there was a problem.
-