public class JARFileMaker extends Object implements AutoCloseable
| Constructor and Description |
|---|
JARFileMaker(File outputFile) |
JARFileMaker(File outputFile,
Manifest manifest) |
public JARFileMaker(File outputFile) throws IOException
IOExceptionpublic JARFileMaker(File outputFile, Manifest manifest) throws IOException
IOExceptionpublic JARFileMaker add(File inputFile) throws IOException
inputFile - file or directory to be added to the jar.IOException - if cannot create a jar.public JARFileMaker addChildren(File folder) throws IOException
IOExceptionpublic void close() throws IOException
close in interface AutoCloseableIOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.