info.magnolia.module.mail.templates
Class MailAttachment

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

public class MailAttachment
extends Object

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

Author:
Nicolas Modrzyk

Field Summary
static String DISPOSITION_ATTACHMENT
           
static String DISPOSITION_INLINE
           
static String DISPOSITION_NORMAL
           
static String MIME_MIXED
           
static String MIME_RELATED
           
 
Constructor Summary
MailAttachment()
           
MailAttachment(File file, String name, String description, String disposition)
           
MailAttachment(URL _url, String name)
           
MailAttachment(URL _url, String name, String mimeMultipart)
           
MailAttachment(URL url, String _name, String _description, String _disposition)
           
 
Method Summary
 String getContentType()
           
 String getDescription()
           
 String getDisposition()
           
 File getFile()
           
 String getFileName()
           
 String getMimeMultipart()
           
 String getName()
           
 String getPath()
           
 URL getUrl()
           
 void setDescription(String desc)
           
 void setDisposition(String aDisposition)
           
 void setMimeMultipart(String mimeMultipart)
           
 void setName(String aName)
           
 void setPath(String aPath)
           
 void setUrl(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 String DISPOSITION_INLINE
See Also:
Constant Field Values

DISPOSITION_NORMAL

public static final String DISPOSITION_NORMAL
See Also:
Constant Field Values

DISPOSITION_ATTACHMENT

public static final String DISPOSITION_ATTACHMENT
See Also:
Constant Field Values

MIME_RELATED

public static final String MIME_RELATED
See Also:
Constant Field Values

MIME_MIXED

public static final String MIME_MIXED
See Also:
Constant Field Values
Constructor Detail

MailAttachment

@Inject
public MailAttachment()

MailAttachment

public MailAttachment(File file,
                      String name,
                      String description,
                      String disposition)

MailAttachment

public MailAttachment(URL url,
                      String _name,
                      String _description,
                      String _disposition)

MailAttachment

public MailAttachment(URL _url,
                      String name,
                      String mimeMultipart)

MailAttachment

public MailAttachment(URL _url,
                      String name)
Method Detail

getDescription

public String getDescription()

getDisposition

public String getDisposition()

getName

public String getName()

getPath

public String getPath()

getUrl

public URL getUrl()

getFile

public File getFile()

setDescription

public void setDescription(String desc)

setDisposition

public void setDisposition(String aDisposition)

setName

public void setName(String aName)

setPath

public void setPath(String aPath)

setUrl

public void setUrl(URL aUrl)

getContentType

public String getContentType()

getFileName

public String getFileName()

getMimeMultipart

public String getMimeMultipart()

setMimeMultipart

public void setMimeMultipart(String mimeMultipart)


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