public class EnhanceJavaPeerTask
extends org.apache.tools.ant.Task
| Constructor and Description |
|---|
EnhanceJavaPeerTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfiguredLibrary(Library library)
Adds a native library to be loaded when the peer is initialized.
|
void |
execute() |
void |
setDeallocationMethod(String deallocationMethod)
Sets the name of the method used to deallocate the Java peer.
|
void |
setInputFile(File inputFile)
Sets the class file to enhance.
|
void |
setOutputFile(File outputFile)
Sets the enhanced output file.
|
void |
setVerbose(boolean verbose)
Indicates if Java peers should output library names before loading them.
|
String |
toString() |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void setInputFile(File inputFile)
inputFile - the class file to enhancepublic void setOutputFile(File outputFile)
outputFile - the enhanced output filepublic void setDeallocationMethod(String deallocationMethod)
deallocationMethod - the name of the method used to deallocate the Java peerpublic void setVerbose(boolean verbose)
verbose - true if Java peers should output library names before loading thempublic void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionpublic void addConfiguredLibrary(Library library)
library - a native libraryCopyright © 2012. All Rights Reserved.