public class Rejar extends Object
| Constructor and Description |
|---|
Rejar() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copy(byte[] bytes,
String name,
JarOutputStream jos) |
protected void |
copy(JarFile in,
JarEntry je,
JarOutputStream jos) |
protected void |
copy(JarFile in,
JarEntry je,
OutputStream os) |
protected void |
copy(JarFile in,
JarEntry je,
WritableByteChannel out) |
protected Manifest |
getManifest() |
protected void |
processDirectory(JarOutputStream jos,
File directory,
Set<String> names,
Map<String,ByteArrayOutputStream> metadata) |
void |
rejar(File out,
File modules) |
public void rejar(File out, File modules) throws IOException
IOExceptionprotected Manifest getManifest() throws IOException
IOExceptionprotected void processDirectory(JarOutputStream jos, File directory, Set<String> names, Map<String,ByteArrayOutputStream> metadata) throws IOException
IOExceptionprotected void copy(JarFile in, JarEntry je, JarOutputStream jos) throws IOException
IOExceptionprotected void copy(JarFile in, JarEntry je, OutputStream os) throws IOException
IOExceptionprotected void copy(JarFile in, JarEntry je, WritableByteChannel out) throws IOException
IOExceptionprotected void copy(byte[] bytes,
String name,
JarOutputStream jos)
throws IOException
IOExceptionCopyright © 2017. All rights reserved.