com.atlassian.confluence.plugins.emailgateway
Class SerializableAttachment

java.lang.Object
  extended by com.atlassian.confluence.plugins.emailgateway.SerializableAttachment
All Implemented Interfaces:
Serializable

public class SerializableAttachment
extends Object
implements Serializable

Wrapper for MailUtils.Attachment that won't kill Bandana.

Since:
5.0
See Also:
Serialized Form

Constructor Summary
SerializableAttachment()
           
SerializableAttachment(byte[] contents, String contentType, String filename)
           
SerializableAttachment(com.atlassian.mail.MailUtils.Attachment attachment)
           
 
Method Summary
 byte[] getContents()
           
 String getContentType()
           
 String getFilename()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializableAttachment

public SerializableAttachment()

SerializableAttachment

public SerializableAttachment(com.atlassian.mail.MailUtils.Attachment attachment)

SerializableAttachment

public SerializableAttachment(byte[] contents,
                              String contentType,
                              String filename)
Method Detail

getFilename

public String getFilename()

getContentType

public String getContentType()

getContents

public byte[] getContents()


Copyright © 2003-2013 Atlassian. All Rights Reserved.