org.apache.tools.ant.taskdefs.optional.native2ascii
Class Native2AsciiAdapterFactory
java.lang.Object
org.apache.tools.ant.taskdefs.optional.native2ascii.Native2AsciiAdapterFactory
public class Native2AsciiAdapterFactory
extends java.lang.Object
Creates the Native2AsciiAdapter based on the user choice and
potentially the VM vendor.
- Ant 1.6.3
getAdapter
public static Native2AsciiAdapter getAdapter(String choice,
ProjectComponent log)
throws BuildException
Creates the Native2AsciiAdapter based on the user choice and *
potentially the VM vendor.
choice
- the user choice (if any).log
- a ProjectComponent instance used to access Ant's
logging system.
- The adapter to use.
getDefault
public static String getDefault()
Determines the default choice of adapter based on the VM
vendor.
- the default choice of adapter based on the VM
vendor
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.