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
IOException
protected Manifest getManifest() throws IOException
IOException
protected void processDirectory(JarOutputStream jos, File directory, Set<String> names, Map<String,ByteArrayOutputStream> metadata) throws IOException
IOException
protected void copy(JarFile in, JarEntry je, JarOutputStream jos) throws IOException
IOException
protected void copy(JarFile in, JarEntry je, OutputStream os) throws IOException
IOException
protected void copy(JarFile in, JarEntry je, WritableByteChannel out) throws IOException
IOException
protected void copy(byte[] bytes, String name, JarOutputStream jos) throws IOException
IOException
Copyright © 2021. All rights reserved.