org.apache.tools.ant.taskdefs.optional.native2ascii
public class Native2AsciiAdapterFactory extends java.lang.Object
Constructor and Description |
---|
Native2AsciiAdapterFactory() |
Modifier and Type | Method and Description |
---|---|
static Native2AsciiAdapter |
getAdapter(java.lang.String choice,
ProjectComponent log)
Creates the Native2AsciiAdapter based on the user choice and *
potentially the VM vendor.
|
static java.lang.String |
getDefault()
Determines the default choice of adapter based on the VM
vendor.
|
public static java.lang.String getDefault()
public static Native2AsciiAdapter getAdapter(java.lang.String choice, ProjectComponent log) throws BuildException
choice
- the user choice (if any).log
- a ProjectComponent instance used to access Ant's
logging system.BuildException
- if there was a problem.