| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addFiles(Commandline
Command line to add to cmd, ProjectComponent provides access to Ant's logging system. log, File the source file src, File the destination file dest)Adds source and dest files to the command line. |
| public final boolean | Returns: run if the conversion was successful.the native 2 ascii arguments. args, File the source file. srcFile, File the destination file. destFile)Implements org. |
| protected abstract boolean | Returns: whether execution was successfulCommand line to execute cmd, ProjectComponent provides access to Ant's logging system. log)Executes the command. |
| protected void | setup(Commandline
Command line to add to cmd, Native2Ascii provides the user-setting and access to Ant's
logging system. args)Sets up the initial command line. |
| DefaultNative2Ascii | back to summary |
|---|---|
| public DefaultNative2Ascii() No-arg constructor. | |
| addFiles | back to summary |
|---|---|
| protected void addFiles(Commandline cmd, ProjectComponent log, File src, File dest) throws BuildException Adds source and dest files to the command line. This implementation adds them without any leading qualifiers, source first.
| |
| convert | back to summary |
|---|---|
| public final boolean convert(Native2Ascii args, File srcFile, File destFile) throws BuildException Implements org. Splits the task into setting up the command line switches
| |
| run | back to summary |
|---|---|
| protected abstract boolean run(Commandline cmd, ProjectComponent log) throws BuildException Executes the command.
| |
| setup | back to summary |
|---|---|
| protected void setup(Commandline cmd, Native2Ascii args) throws BuildException Sets up the initial command line. only the -encoding argument and nested arg elements get handled here.
| |