com.atlassian.confluence.plugins.emailgateway.api
Class AttachmentFile

java.lang.Object
  extended by com.atlassian.confluence.plugins.emailgateway.api.AttachmentFile

@PublicApi
public class AttachmentFile
extends java.lang.Object

Since:
5.3

Constructor Summary
AttachmentFile(java.lang.String fileName, java.lang.String extension, java.lang.String contentType)
           
 
Method Summary
 java.lang.String getContentType()
           
 java.lang.String getExtension()
           
 java.lang.String getFileName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentFile

public AttachmentFile(java.lang.String fileName,
                      java.lang.String extension,
                      java.lang.String contentType)
Parameters:
fileName - the name of the Attachment file
extension - the extension of the file - supplied in addition to the fileName to avoid calculating it multiple times
contentType - (optional) the MIME content type, which if present may speed up the conversion
Method Detail

getFileName

public java.lang.String getFileName()

getExtension

public java.lang.String getExtension()

getContentType

public java.lang.String getContentType()


Copyright © 2003-2014 Atlassian. All Rights Reserved.