Class Rejar
- java.lang.Object
-
- com.sun.enterprise.glassfish.bootstrap.Rejar
-
public class Rejar extends Object
Created by IntelliJ IDEA. User: dochez Date: Nov 10, 2008 Time: 8:53:34 PM To change this template use File | Settings | File Templates.
-
-
Constructor Summary
Constructors Constructor Description Rejar()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcopy(byte[] bytes, String name, JarOutputStream jos)protected voidcopy(JarFile in, JarEntry je, OutputStream os)protected voidcopy(JarFile in, JarEntry je, WritableByteChannel out)protected voidcopy(JarFile in, JarEntry je, JarOutputStream jos)protected ManifestgetManifest()protected voidprocessDirectory(JarOutputStream jos, File directory, Set<String> names, Map<String,ByteArrayOutputStream> metadata)voidrejar(File out, File modules)
-
-
-
Method Detail
-
rejar
public void rejar(File out, File modules) throws IOException
- Throws:
IOException
-
getManifest
protected Manifest getManifest() throws IOException
- Throws:
IOException
-
processDirectory
protected void processDirectory(JarOutputStream jos, File directory, Set<String> names, Map<String,ByteArrayOutputStream> metadata) throws IOException
- Throws:
IOException
-
copy
protected void copy(JarFile in, JarEntry je, JarOutputStream jos) throws IOException
- Throws:
IOException
-
copy
protected void copy(JarFile in, JarEntry je, OutputStream os) throws IOException
- Throws:
IOException
-
copy
protected void copy(JarFile in, JarEntry je, WritableByteChannel out) throws IOException
- Throws:
IOException
-
copy
protected void copy(byte[] bytes, String name, JarOutputStream jos) throws IOException- Throws:
IOException
-
-