railo.runtime.net.smtp
Class Attachment
java.lang.Object
railo.runtime.net.smtp.Attachment
- All Implemented Interfaces:
- Serializable
public class Attachment
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Attachment
public Attachment(Resource resource,
String type,
String disposition,
String contentID,
boolean removeAfterSend)
Attachment
public Attachment(URL url)
getURL
public URL getURL()
- Returns:
- the url
getFileName
public String getFileName()
- Returns:
- the fileName
setFileName
public void setFileName(String fileName)
- Parameters:
fileName
- the fileName to set
getAbsolutePath
public String getAbsolutePath()
isRemoveAfterSend
public boolean isRemoveAfterSend()
- Returns:
- the removeAfterSend
setRemoveAfterSend
public void setRemoveAfterSend(boolean removeAfterSend)
- Parameters:
removeAfterSend
- the removeAfterSend to set
getType
public String getType()
- Returns:
- the type
getDisposition
public String getDisposition()
- Returns:
- the disposition
getContentID
public String getContentID()
- Returns:
- the contentID
Copyright © 2012 Railo