Top Description Methods
org.apache.tools.ant.taskdefs.optional.native2ascii

public Interface Native2AsciiAdapter

Known Direct Implementers
org.apache.tools.ant.taskdefs.optional.native2ascii.BuiltinNative2Ascii, org.apache.tools.ant.taskdefs.optional.native2ascii.DefaultNative2Ascii
Imports
java.io.File, org.apache.tools.ant.BuildException, org.apache.tools.ant.taskdefs.optional.Native2Ascii

Interface for an adapter to a native2ascii implementation.
Since
Ant 1.6.3

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

whether the conversion has been successful.
convert
(Native2Ascii
Task that holds command line arguments and allows the implementation to send messages to Ant's logging system
args
,
File
the source to convert
srcFile
,
File
where to send output to
destFile
)

Convert the encoding of srcFile writing to destFile.

Method Detail

convertback to summary
public boolean convert(Native2Ascii args, File srcFile, File destFile) throws BuildException

Convert the encoding of srcFile writing to destFile.

Parameters
args:Native2Ascii

Task that holds command line arguments and allows the implementation to send messages to Ant's logging system

srcFile:File

the source to convert

destFile:File

where to send output to

Returns:boolean

whether the conversion has been successful.

Exceptions
BuildException:
if there was a problem.