|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas_ws.wsgen.utils.ArchiveStorer
org.objectweb.jonas_ws.wsgen.utils.DirStorer
Store a J2EEArchive in an unpacked form.
Field Summary | |
protected java.io.File |
base
directory name containing unpacked archive. |
Fields inherited from class org.objectweb.jonas_ws.wsgen.utils.ArchiveStorer |
already, archive, i18n, logger, MAX_BUFFER_SIZE, out |
Constructor Summary | |
DirStorer(J2EEArchive archive,
java.io.File dir)
Creates a new DirStorer object. |
Method Summary | |
protected void |
addFile(java.lang.String name)
add a given file in the filesystem. |
protected java.lang.String |
convertName(java.lang.String name)
Convert a filename to a local filesystem filename. |
protected java.io.OutputStream |
getOutputStream(java.lang.String name)
returns the OuputStream corresponding to the given filename. |
Methods inherited from class org.objectweb.jonas_ws.wsgen.utils.ArchiveStorer |
fill, store |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.io.File base
Constructor Detail |
public DirStorer(J2EEArchive archive, java.io.File dir) throws WsGenException
archive
- archive to be storeddir
- output directory
WsGenException
- if cannot create output directoryMethod Detail |
protected java.lang.String convertName(java.lang.String name)
convertName
in class ArchiveStorer
name
- name to be converted
protected void addFile(java.lang.String name) throws java.io.IOException
addFile
in class ArchiveStorer
name
- filename
java.io.IOException
- When fill fails.protected java.io.OutputStream getOutputStream(java.lang.String name) throws java.io.IOException
getOutputStream
in class ArchiveStorer
name
- filename to create
java.io.IOException
- When file creation fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |