com.atlassian.mail
Class MailUtils.Attachment

java.lang.Object
  extended by com.atlassian.mail.MailUtils.Attachment
Enclosing class:
MailUtils

public static class MailUtils.Attachment
extends java.lang.Object

Very simple representation of a mail attachment after it has been extracted from a message.


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

Constructor Detail

MailUtils.Attachment

public MailUtils.Attachment(java.lang.String contentType,
                            java.lang.String fileName,
                            byte[] contents)
Method Detail

getContentType

public java.lang.String getContentType()

getContents

public byte[] getContents()

getFilename

public java.lang.String getFilename()


Copyright © 2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.