com.xpn.xwiki.doc
Class XWikiAttachmentArchive
java.lang.Object
com.xpn.xwiki.doc.XWikiAttachmentArchive
- public class XWikiAttachmentArchive
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
attachment
private XWikiAttachment attachment
archive
private org.apache.commons.jrcs.rcs.Archive archive
XWikiAttachmentArchive
public XWikiAttachmentArchive()
getId
public long getId()
setId
public void setId(long id)
clone
public java.lang.Object clone()
getRCSArchive
public org.apache.commons.jrcs.rcs.Archive getRCSArchive()
setRCSArchive
public void setRCSArchive(org.apache.commons.jrcs.rcs.Archive archive)
getArchive
public byte[] getArchive()
throws XWikiException
- Throws:
XWikiException
getArchive
public byte[] getArchive(XWikiContext context)
throws XWikiException
- Throws:
XWikiException
setArchive
public void setArchive(byte[] data)
throws XWikiException
- Throws:
XWikiException
updateArchive
public void updateArchive(byte[] data)
throws XWikiException
- Throws:
XWikiException
getAttachment
public XWikiAttachment getAttachment()
setAttachment
public void setAttachment(XWikiAttachment attachment)
Copyright 2003 Ludovic Dubost