@Role
public interface AttachmentImporter
Modifier and Type | Method and Description |
---|---|
String |
toHTML(AttachmentReference attachmentReference,
Map<String,Object> parameters)
Generates the HTML needed to import the specified attachment.
|
String toHTML(AttachmentReference attachmentReference, Map<String,Object> parameters) throws Exception
attachmentReference
- specifies the attachment to importparameters
- import parametersException
- if importing the specified attachment failsCopyright © 2004–2022 XWiki. All rights reserved.