JavaXT
|
|
Attachment ClassUsed to represent an attachment associated with a FolderItem. Includes methods to upload and download attachments.
ConstructorsPublic MethodsgetContentType( ) returns String Returns the mime type associated with the attachment (e.g. "image/jpeg"). getContentID( ) returns String Returns the content id (cid) associated with this attachment. This is useful for resolving inline attachments (e.g. images) found in email messages, calendar invites, and other folder items. hashCode( ) returns int Returns the hashCode associated with the attachment ID. If the attachment has not been saved/uploaded, then a temporary hashCode is assigned. download( Connection conn ) returns java.io.InputStream Used to download the attachment. Returns an input stream with the attachment. Public Classes |