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
           
 
Constructor Summary
MailAttachment()
           
MailAttachment(File file, String name, String description, String disposition)
           
MailAttachment(URL _url, String name)
           
MailAttachment(URL url, String _name, String _description, String _disposition)
           
 
Method Summary
 String getContentType()
           
 String getDescription()
           
 String getDisposition()
           
 File getFile()
           
 String getFileName()
           
 String getName()
           
 String getPath()
           
 URL getUrl()
           
 void setDescription(String desc)
           
 void setDisposition(String aDisposition)
           
 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
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)
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()


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