public class Attachment extends Object implements Serializable
Constructor and Description |
---|
Attachment(Resource resource,
String type,
String disposition,
String contentID,
boolean removeAfterSend) |
Attachment(URL url) |
Modifier and Type | Method and Description |
---|---|
String |
getAbsolutePath() |
String |
getContentID() |
String |
getDisposition() |
String |
getFileName() |
String |
getType() |
URL |
getURL() |
boolean |
isRemoveAfterSend() |
void |
setFileName(String fileName) |
void |
setRemoveAfterSend(boolean removeAfterSend) |
public Attachment(Resource resource, String type, String disposition, String contentID, boolean removeAfterSend)
public Attachment(URL url)
public String getFileName()
public void setFileName(String fileName)
fileName
- the fileName to setpublic String getAbsolutePath()
public boolean isRemoveAfterSend()
public void setRemoveAfterSend(boolean removeAfterSend)
removeAfterSend
- the removeAfterSend to setpublic String getDisposition()
public String getContentID()
Copyright © 2015 Lucee