This is a utility interface for handling attachments. It has the following ten methods:
setContentType
Sets the content type of the attachment
public void setContentType(String contentType)
getContentType
Retrieves the content type of the attachment
public String getContentType()
None
setDescription
Sets a string describing the attachment
public void setDescription(String desc)
getDescription
Retrieves the description
public String getDescription()
None
setURI
Sets a URI for the attachment
public void setURI(String URI)
getURI
Retrieves the URI
public String getURI()
None
setEncoding
Sets the attachment's character encoding
public void setEncoding(String encoding)
getEncoding
Retrieves the attachment's character encoding
public String getEncoding()
None
setFile
Sets a file for the attachment
public void setFile(File file)
getFile
Retrieves the file
public File getFile()
None