org.apache.tools.ant.taskdefs.optional.native2ascii
Interface Native2AsciiAdapter
- All Known Implementing Classes:
- DefaultNative2Ascii, KaffeNative2Ascii, SunNative2Ascii
public interface Native2AsciiAdapter
Interface for an adapter to a native2ascii implementation.
- Since:
- Ant 1.6.3
|
Method Summary |
boolean |
convert(Native2Ascii args,
java.io.File srcFile,
java.io.File destFile)
Convert the encoding of srcFile writing to destFile. |
convert
boolean convert(Native2Ascii args,
java.io.File srcFile,
java.io.File destFile)
throws BuildException
- 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 systemsrcFile - the source to convertdestFile - where to send output to
- Returns:
- whether the conversion has been successful.
- Throws:
BuildException - if there was a problem.