|
||||||||||
| 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(java.net.URI uri)
creates a new abstract archive with the given path |
WritableArchive |
createSubArchive(java.lang.String name)
Returns an instance of this archive abstraction for an embedded archive within this archive. |
java.io.OutputStream |
putNextEntry(java.lang.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(java.net.URI uri)
throws java.io.IOException
uri - the path to create the archive
java.io.IOException
void closeEntry(WritableArchive subArchive)
throws java.io.IOException
subArchive - output stream to close
java.io.IOException
java.io.OutputStream putNextEntry(java.lang.String name)
throws java.io.IOException
name - the entry name
java.io.IOException
void closeEntry()
throws java.io.IOException
java.io.IOException
WritableArchive createSubArchive(java.lang.String name)
throws java.io.IOException
name - is the entry name relative to the root for the archive
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||