info.magnolia.module.mail.templates
Class MailAttachment

java.lang.Object
  extended by info.magnolia.module.mail.templates.MailAttachment

public class MailAttachment
extends java.lang.Object

Represents a mail attachment. Date: Apr 1, 2006 Time: 8:38:07 PM

Author:
Nicolas Modrzyk

Field Summary
static java.lang.String DISPOSITION_ATTACHMENT
           
static java.lang.String DISPOSITION_INLINE
           
static java.lang.String DISPOSITION_NORMAL
           
 
Constructor Summary
MailAttachment()
           
MailAttachment(java.io.File file, java.lang.String name, java.lang.String description, java.lang.String disposition)
           
MailAttachment(java.net.URL _url, java.lang.String name)
           
MailAttachment(java.net.URL url, java.lang.String _name, java.lang.String _description, java.lang.String _disposition)
           
 
Method Summary
 java.lang.String getContentType()
           
 java.lang.String getDescription()
           
 java.lang.String getDisposition()
           
 java.io.File getFile()
           
 java.lang.String getFileName()
           
 java.lang.String getName()
           
 java.lang.String getPath()
           
 java.net.URL getUrl()
           
 void setDescription(java.lang.String desc)
           
 void setDisposition(java.lang.String aDisposition)
           
 void setName(java.lang.String aName)
           
 void setPath(java.lang.String aPath)
           
 void setUrl(java.net.URL aUrl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DISPOSITION_INLINE

public static final java.lang.String DISPOSITION_INLINE
See Also:
Constant Field Values

DISPOSITION_NORMAL

public static final java.lang.String DISPOSITION_NORMAL
See Also:
Constant Field Values

DISPOSITION_ATTACHMENT

public static final java.lang.String DISPOSITION_ATTACHMENT
See Also:
Constant Field Values
Constructor Detail

MailAttachment

public MailAttachment()

MailAttachment

public MailAttachment(java.io.File file,
                      java.lang.String name,
                      java.lang.String description,
                      java.lang.String disposition)

MailAttachment

public MailAttachment(java.net.URL url,
                      java.lang.String _name,
                      java.lang.String _description,
                      java.lang.String _disposition)

MailAttachment

public MailAttachment(java.net.URL _url,
                      java.lang.String name)
Method Detail

getDescription

public java.lang.String getDescription()

getDisposition

public java.lang.String getDisposition()

getName

public java.lang.String getName()

getPath

public java.lang.String getPath()

getUrl

public java.net.URL getUrl()

getFile

public java.io.File getFile()

setDescription

public void setDescription(java.lang.String desc)

setDisposition

public void setDisposition(java.lang.String aDisposition)

setName

public void setName(java.lang.String aName)

setPath

public void setPath(java.lang.String aPath)

setUrl

public void setUrl(java.net.URL aUrl)

getContentType

public java.lang.String getContentType()

getFileName

public java.lang.String getFileName()


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.