public class PackingUtils extends Object
| Constructor and Description |
|---|
PackingUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
config(PackingOptions options) |
static void |
copyThroughJar(JarFile jarFile,
OutputStream outputStream)
When effort is 0, the packer copys through the original jar file without compression
|
static void |
copyThroughJar(JarInputStream jarInputStream,
OutputStream outputStream)
When effort is 0, the packer copies through the original jar input stream without compression
|
static List |
getPackingFileListFromJar(JarFile jarFile,
boolean keepFileOrder) |
static List |
getPackingFileListFromJar(JarInputStream jarInputStream,
boolean keepFileOrder) |
static void |
log(String message) |
public PackingUtils()
public static void config(PackingOptions options) throws IOException
IOExceptionpublic static void copyThroughJar(JarInputStream jarInputStream, OutputStream outputStream) throws IOException
jarInputStream - the jar input streamoutputStream - the jar output streamIOException - If an I/O error occurs.public static void copyThroughJar(JarFile jarFile, OutputStream outputStream) throws IOException
jarFile - the input jar fileoutputStream - the jar output streamIOException - If an I/O error occurs.public static List getPackingFileListFromJar(JarInputStream jarInputStream, boolean keepFileOrder) throws IOException
IOExceptionpublic static List getPackingFileListFromJar(JarFile jarFile, boolean keepFileOrder) throws IOException
IOExceptionCopyright © 2002–2020 The Apache Software Foundation. All rights reserved.