public class jlink extends Object
Constructor and Description |
---|
jlink() |
Modifier and Type | Method and Description |
---|---|
void |
addAddFile(String fileToAdd)
Adds a file to be added into the output.
|
void |
addAddFiles(String[] filesToAdd)
Adds several file to be added into the output.
|
void |
addMergeFile(String fileToMerge)
Adds a file to be merged into the output.
|
void |
addMergeFiles(String[] filesToMerge)
Adds several files to be merged into the output.
|
void |
link()
Performs the linking of files.
|
static void |
main(String[] args)
The command line entry point for jlink.
|
void |
setCompression(boolean compress)
Determines whether output will be compressed.
|
void |
setOutfile(String outfile)
The file that will be created by this instance of jlink.
|
public void addAddFile(String fileToAdd)
fileToAdd
- the file to add to the output.public void addAddFiles(String[] filesToAdd)
filesToAdd
- an array of files to add to the output.public void addMergeFile(String fileToMerge)
fileToMerge
- the file to merge into the output.public void addMergeFiles(String[] filesToMerge)
filesToMerge
- an array of files to merge into the output.public void link() throws Exception
Exception
- on error.public static void main(String[] args)
args
- an array of argumentspublic void setCompression(boolean compress)
compress
- if true use compression.public void setOutfile(String outfile)
outfile
- the file to create.