org.objectweb.jonas.common.JJarFile Class Reference

List of all members.

Public Member Functions

 JJarFile (File file) throws IOException
 JJarFile (File file, boolean verify) throws IOException
 JJarFile (File file, boolean verify, int mode) throws IOException
 JJarFile (String name) throws IOException
 JJarFile (String name, boolean verify) throws IOException
void extract (JarEntry jEnt, String filename) throws IOException

Detailed Description

This class implements a JarFile that adds a extract/write method
Author:
Eric Hardesty

Definition at line 41 of file JJarFile.java.


Constructor & Destructor Documentation

org.objectweb.jonas.common.JJarFile.JJarFile File  file  )  throws IOException
 

Constructs a new JarFile with the specified File.

Parameters:
file the jar file to be opened

Definition at line 52 of file JJarFile.java.

org.objectweb.jonas.common.JJarFile.JJarFile File  file,
boolean  verify
throws IOException
 

Constructs a new JarFile with the specified File.

Parameters:
file the jar file to be opened
verity boolean to verify if the JarFile is signed

Definition at line 61 of file JJarFile.java.

org.objectweb.jonas.common.JJarFile.JJarFile File  file,
boolean  verify,
int  mode
throws IOException
 

Constructs a new JarFile with the specified File.

Parameters:
file the jar file to be opened
verity boolean to verify if the JarFile is signed
mode int of the mode to open the jar

Definition at line 71 of file JJarFile.java.

org.objectweb.jonas.common.JJarFile.JJarFile String  name  )  throws IOException
 

Constructs a new JarFile with the specified File.

Parameters:
name the name of the jar file to be opened

Definition at line 79 of file JJarFile.java.

org.objectweb.jonas.common.JJarFile.JJarFile String  name,
boolean  verify
throws IOException
 

Constructs a new JarFile with the specified File.

Parameters:
name the name of the jar file to be opened
verity boolean to verify if the JarFile is signed

Definition at line 88 of file JJarFile.java.


Member Function Documentation

void org.objectweb.jonas.common.JJarFile.extract JarEntry  jEnt,
String  filename
throws IOException
 

Extract the specified Jar Entry to the path given

Parameters:
jEnt the JarEntry to extract
filename the filename to write the extracted file

Definition at line 97 of file JJarFile.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:06:26 2005 for JOnAS by  doxygen 1.3.9.1