info.magnolia.module.mail.templates
Class MailAttachment
java.lang.Object
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
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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)
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.