public class JarUtil extends Object
| Constructor and Description |
|---|
JarUtil() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
addEntry(String fileName,
byte[] addFile,
byte[] jar) |
static File |
convertJarToZip(File jar,
String fileName) |
static byte[] |
makeInstance(Map<String,byte[]> map) |
public static File convertJarToZip(File jar, String fileName) throws IOException
IOExceptionpublic static byte[] makeInstance(Map<String,byte[]> map) throws IOException
IOExceptionpublic static byte[] addEntry(String fileName, byte[] addFile, byte[] jar) throws IOException
IOException