|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that defines an archive. Note that an archive can also be an archive entry.
Method Summary | |
void |
addEntry(Entry entry)
Adds an entry to this archive |
java.util.Enumeration |
getEntries()
Returns an enumeration of entries contained in this archive |
Entry |
getEntry(java.lang.String uri)
Returns the archive entry designated by this URI |
Entry |
getManifest()
Returns the manifest entry of this archive |
Archive |
getParent()
Return the parent archive of this archive |
boolean |
isNested()
Returns whether or not this archive is nested in an other archive |
java.util.Iterator |
iterator()
Return an Iterator of the entries contained in this archive |
void |
removeEntry(Entry entry)
Removes an entry from this archive |
void |
removeEntry(java.lang.String uri)
Removes an entry from this archive |
Methods inherited from interface org.ejtools.archive.Entry |
accept, accept, addTo, getContent, getURI, isArchive, setContent, setURI |
Method Detail |
public Archive getParent()
public boolean isNested()
public java.util.Enumeration getEntries()
public java.util.Iterator iterator()
public void addEntry(Entry entry)
entry
- The archive entry to be addedpublic void removeEntry(java.lang.String uri)
uri
- The archive entry to be removedpublic void removeEntry(Entry entry)
entry
- The archive entry to be removedpublic Entry getEntry(java.lang.String uri)
uri
- The URI of the entry
public Entry getManifest()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |