|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.taskdefs.optional.jlink.jlink
public class jlink
jlink links together multiple .jar files.
Constructor Summary | |
---|---|
jlink()
|
Method Summary | |
---|---|
void |
addAddFile(java.lang.String fileToAdd)
Adds a file to be added into the output. |
void |
addAddFiles(java.lang.String[] filesToAdd)
Adds several file to be added into the output. |
void |
addMergeFile(java.lang.String fileToMerge)
Adds a file to be merged into the output. |
void |
addMergeFiles(java.lang.String[] filesToMerge)
Adds several files to be merged into the output. |
void |
link()
Performs the linking of files. |
static void |
main(java.lang.String[] args)
The command line entry point for jlink. |
void |
setCompression(boolean compress)
Determines whether output will be compressed. |
void |
setOutfile(java.lang.String outfile)
The file that will be created by this instance of jlink. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public jlink()
Method Detail |
---|
public void setOutfile(java.lang.String outfile)
outfile
- the file to create.public void addMergeFile(java.lang.String fileToMerge)
fileToMerge
- the file to merge into the output.public void addAddFile(java.lang.String fileToAdd)
fileToAdd
- the file to add to the output.public void addMergeFiles(java.lang.String[] filesToMerge)
filesToMerge
- an array of files to merge into the output.public void addAddFiles(java.lang.String[] filesToAdd)
filesToAdd
- an array of files to add to the output.public void setCompression(boolean compress)
compress
- if true use compression.public void link() throws java.lang.Exception
java.lang.Exception
- on error.public static void main(java.lang.String[] args)
args
- an array of arguments
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |