org.apache.tools.ant.taskdefs.optional.native2ascii

Interface Native2AsciiAdapter

public interface Native2AsciiAdapter

Interface for an adapter to a native2ascii implementation.

Since: Ant 1.6.3

Method Summary
booleanconvert(Native2Ascii args, File srcFile, File destFile)
Convert the encoding of srcFile writing to destFile.

Method Detail

convert

public boolean convert(Native2Ascii args, File srcFile, File destFile)
Convert the encoding of srcFile writing to destFile.

Parameters: args Task that holds command line arguments and allows the implementation to send messages to Ant's logging system srcFile the source to convert destFile where to send output to

Returns: whether the conversion has been successful.

Throws: BuildException if there was a problem.