|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that defines an archive entry.
Method Summary | |
void |
accept(Reader visitor)
Visitor Pattern method to accept a Reader visitor |
void |
accept(Writer visitor)
Visitor Pattern method to accept a Writer visitor |
void |
addTo(Archive archive)
Adds this entry to an archive |
byte[] |
getContent()
Returns the content of this entry |
java.lang.String |
getURI()
Return the absolute URI of this entry |
boolean |
isArchive()
Is this entry an archive ? |
void |
setContent(byte[] content)
Sets the content of this entry |
void |
setURI(java.lang.String uri)
Sets the URI of this entry |
Method Detail |
public void accept(Reader visitor)
visitor
- The reader visitorpublic void accept(Writer visitor)
visitor
- The writer visitorpublic void addTo(Archive archive)
archive
- The archive to be added topublic boolean isArchive()
public java.lang.String getURI()
public void setURI(java.lang.String uri)
uri
- The new URIpublic void setContent(byte[] content)
content
- The new contentpublic byte[] getContent()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |