|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.plugins.emailgateway.attachmentconverter.instances.ViewFileAttachmentConverter
public class ViewFileAttachmentConverter
Converts attachments known to the Office Connector into {viewfile} macros.
Constructor Summary | |
---|---|
ViewFileAttachmentConverter()
|
Method Summary | |
---|---|
MacroDefinition |
convertAttachment(AttachmentFile attachmentFile)
Creates a Confluence XHTML API object from the supplied parameters, if the Converter instance handles this parameter combination. |
java.lang.Class<MacroDefinition> |
getConversionClass()
The type of object this converter returns. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViewFileAttachmentConverter()
Method Detail |
---|
public MacroDefinition convertAttachment(AttachmentFile attachmentFile)
AttachmentConverter
convertAttachment
in interface AttachmentConverter<MacroDefinition>
attachmentFile
- representing the file name, type and size
public java.lang.Class<MacroDefinition> getConversionClass()
AttachmentConverter
getConversionClass
in interface AttachmentConverter<MacroDefinition>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |