|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Contract public interface WritableArchive
Interface for implementing write access to an underlying archive on a unspecified medium
| Method Summary | |
|---|---|
void |
closeEntry()
closes the current entry |
void |
closeEntry(WritableArchive subArchive)
Close a previously returned sub archive |
void |
create(URI uri)
creates a new abstract archive with the given path |
WritableArchive |
createSubArchive(String name)
Returns an instance of this archive abstraction for an embedded archive within this archive. |
OutputStream |
putNextEntry(String name)
Create a new entry in the archive |
| Methods inherited from interface org.glassfish.api.deployment.archive.Archive |
|---|
close, entries, entries, getArchiveSize, getDirectories, getManifest, getName, getURI, isDirectory |
| Method Detail |
|---|
void create(URI uri)
throws IOException
uri - the path to create the archive
IOException
void closeEntry(WritableArchive subArchive)
throws IOException
subArchive - output stream to close
IOException
OutputStream putNextEntry(String name)
throws IOException
name - the entry name
IOException
void closeEntry()
throws IOException
IOException
WritableArchive createSubArchive(String name)
throws IOException
name - is the entry name relative to the root for the archive
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||