Inheritance diagram for org.objectweb.jonas_lib.genbase.utils.JarStorer:
Public Member Functions | |
JarStorer (J2EEArchive archive, File jar) throws GenBaseException | |
void | store () throws GenBaseException |
Protected Member Functions | |
String | convertName (String name) |
void | addFile (String name) throws IOException |
OutputStream | getOutputStream (String name) throws IOException |
Definition at line 41 of file JarStorer.java.
|
Creates a new JarStorer object.
Definition at line 56 of file JarStorer.java. References org.objectweb.jonas_lib.genbase.utils.ArchiveStorer.getI18n(), org.objectweb.jonas_lib.I18n.getMessage(), and org.objectweb.jonas_lib.genbase.utils.ArchiveStorer.setOut(). |
Here is the call graph for this function:
|
Add a file in Jar
Implements org.objectweb.jonas_lib.genbase.utils.ArchiveStorer. Definition at line 94 of file JarStorer.java. References org.objectweb.jonas_lib.genbase.utils.JarStorer.convertName(), org.objectweb.jonas_lib.genbase.utils.ArchiveStorer.fill(), org.objectweb.jonas_lib.genbase.utils.ArchiveStorer.getArchive(), and org.objectweb.jonas_lib.genbase.archive.J2EEArchive.getInputStream(). |
Here is the call graph for this function:
|
Convert a name from any format in Jar filename format
Implements org.objectweb.jonas_lib.genbase.utils.ArchiveStorer. Definition at line 83 of file JarStorer.java. Referenced by org.objectweb.jonas_lib.genbase.utils.JarStorer.addFile(), and org.objectweb.jonas_lib.genbase.utils.JarStorer.getOutputStream(). |
|
returns the OuputStream corresponding to the given filename.
Implements org.objectweb.jonas_lib.genbase.utils.ArchiveStorer. Definition at line 128 of file JarStorer.java. References org.objectweb.jonas_lib.genbase.utils.JarStorer.convertName(). |
Here is the call graph for this function:
|
Store the archive and close the streams.
Reimplemented from org.objectweb.jonas_lib.genbase.utils.ArchiveStorer. Definition at line 108 of file JarStorer.java. References org.objectweb.jonas_lib.genbase.utils.ArchiveStorer.getI18n(), and org.objectweb.jonas_lib.I18n.getMessage(). |
Here is the call graph for this function: