public class JARFileMaker extends Object implements AutoCloseable
Constructor and Description |
---|
JARFileMaker(File outputFile) |
JARFileMaker(File outputFile,
Manifest manifest) |
Modifier and Type | Method and Description |
---|---|
JARFileMaker |
add(File inputFile)
Adds a file to the JAR.
|
JARFileMaker |
addChildren(File folder) |
void |
close() |
public JARFileMaker(File outputFile, Manifest manifest) throws IOException
IOException
public JARFileMaker(File outputFile) throws IOException
IOException
public JARFileMaker add(File inputFile) throws IOException
inputFile
- IOException
public JARFileMaker addChildren(File folder) throws IOException
IOException
public void close() throws IOException
close
in interface AutoCloseable
IOException
Copyright © 2016 The Apache Software Foundation. All rights reserved.