Class BuiltinNative2Ascii
- java.lang.Object
-
- org.apache.tools.ant.taskdefs.optional.native2ascii.BuiltinNative2Ascii
-
- All Implemented Interfaces:
Native2AsciiAdapter
public class BuiltinNative2Ascii extends java.lang.Object implements Native2AsciiAdapter
Encapsulates the built-in Native2Ascii implementation.- Since:
- Ant 1.9.8
-
-
Constructor Summary
Constructors Constructor Description BuiltinNative2Ascii()
-
Method Summary
Modifier and Type Method Description booleanconvert(Native2Ascii args, java.io.File srcFile, java.io.File destFile)Convert the encoding of srcFile writing to destFile.
-
-
-
Method Detail
-
convert
public final boolean convert(Native2Ascii args, java.io.File srcFile, java.io.File destFile) throws BuildException
Description copied from interface:Native2AsciiAdapterConvert the encoding of srcFile writing to destFile.- Specified by:
convertin interfaceNative2AsciiAdapter- 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.
-
-