public class PackingUtils extends java.lang.Object
| Constructor and Description |
|---|
PackingUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
config(PackingOptions options) |
static void |
copyThroughJar(java.util.jar.JarFile jarFile,
java.io.OutputStream outputStream)
When effort is 0, the packer copys through the original jar file without compression
|
static void |
copyThroughJar(java.util.jar.JarInputStream jarInputStream,
java.io.OutputStream outputStream)
When effort is 0, the packer copies through the original jar input stream without compression
|
static java.util.List |
getPackingFileListFromJar(java.util.jar.JarFile jarFile,
boolean keepFileOrder) |
static java.util.List |
getPackingFileListFromJar(java.util.jar.JarInputStream jarInputStream,
boolean keepFileOrder) |
static void |
log(java.lang.String message) |
public PackingUtils()
public static void config(PackingOptions options) throws java.io.IOException
java.io.IOExceptionpublic static void log(java.lang.String message)
public static void copyThroughJar(java.util.jar.JarInputStream jarInputStream, java.io.OutputStream outputStream) throws java.io.IOException
jarInputStream - the jar input streamoutputStream - the jar output streamjava.io.IOException - If an I/O error occurs.public static void copyThroughJar(java.util.jar.JarFile jarFile, java.io.OutputStream outputStream) throws java.io.IOException
jarFile - the input jar fileoutputStream - the jar output streamjava.io.IOException - If an I/O error occurs.public static java.util.List getPackingFileListFromJar(java.util.jar.JarInputStream jarInputStream, boolean keepFileOrder) throws java.io.IOException
java.io.IOExceptionpublic static java.util.List getPackingFileListFromJar(java.util.jar.JarFile jarFile, boolean keepFileOrder) throws java.io.IOException
java.io.IOException