railo.runtime.net.smtp
Class Attachment

java.lang.Object
  extended by railo.runtime.net.smtp.Attachment
All Implemented Interfaces:
Serializable

public class Attachment
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Attachment(Resource resource, String type, String disposition, String contentID, boolean removeAfterSend)
           
Attachment(URL url)
           
 
Method Summary
 String getAbsolutePath()
           
 String getContentID()
           
 String getDisposition()
           
 String getFileName()
           
 String getType()
           
 URL getURL()
           
 boolean isRemoveAfterSend()
           
 void setFileName(String fileName)
           
 void setRemoveAfterSend(boolean removeAfterSend)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attachment

public Attachment(Resource resource,
                  String type,
                  String disposition,
                  String contentID,
                  boolean removeAfterSend)

Attachment

public Attachment(URL url)
Method Detail

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