| java.util.jar.JarFile org.objectweb.jonas.common.JJarFile
JJarFile | public class JJarFile extends JarFile (Code) | | This class implements a JarFile that adds a extract/write method
author: Eric Hardesty |
Constructor Summary | |
public | JJarFile(File file) Constructs a new JarFile with the specified File. | public | JJarFile(File file, boolean verify) Constructs a new JarFile with the specified File. | public | JJarFile(File file, boolean verify, int mode) Constructs a new JarFile with the specified File. | public | JJarFile(String name) Constructs a new JarFile with the specified File. | public | JJarFile(String name, boolean verify) Constructs a new JarFile with the specified File. |
JJarFile | public JJarFile(File file) throws IOException(Code) | | Constructs a new JarFile with the specified File.
Parameters: file - the jar file to be opened |
JJarFile | public JJarFile(File file, boolean verify) throws IOException(Code) | | Constructs a new JarFile with the specified File.
Parameters: file - the jar file to be opened Parameters: verity - boolean to verify if the JarFile is signed |
JJarFile | public JJarFile(File file, boolean verify, int mode) throws IOException(Code) | | Constructs a new JarFile with the specified File.
Parameters: file - the jar file to be opened Parameters: verity - boolean to verify if the JarFile is signed Parameters: mode - int of the mode to open the jar |
JJarFile | public JJarFile(String name) throws IOException(Code) | | Constructs a new JarFile with the specified File.
Parameters: name - the name of the jar file to be opened |
JJarFile | public JJarFile(String name, boolean verify) throws IOException(Code) | | Constructs a new JarFile with the specified File.
Parameters: name - the name of the jar file to be opened Parameters: verity - boolean to verify if the JarFile is signed |
extract | public void extract(JarEntry jEnt, String filename) throws IOException(Code) | | Extract the specified Jar Entry to the path given
Parameters: jEnt - the JarEntry to extract Parameters: filename - the filename to write the extracted file |
|
|