public interface DeletedAttachmentContent
Modifier and Type | Method and Description |
---|---|
String |
getContentAsString() |
XWikiAttachment |
getXWikiAttachment(XWikiAttachment attachment) |
String getContentAsString() throws IOException, XWikiException
IOException
- when failing to get the String
contentXWikiException
- when failing to get the String
contentXWikiAttachment getXWikiAttachment(XWikiAttachment attachment) throws IOException, XWikiException
attachment
- the attachment to write to or null to create a new oneIOException
- when failing to read the contentXWikiException
- when failing to read the contentCopyright © 2004–2022 XWiki. All rights reserved.