ERMailDataAttachment Class Reference

Inherits er::javamail::ERMailAttachment.

Collaboration diagram for ERMailDataAttachment:

Collaboration graph
[legend]

List of all members.

Public Member Functions

String contentID ()
 ERMailDataAttachment (String aFilename, String anId, DataHandler aHandler)
 ERMailDataAttachment (String fileName, String id, byte content[])
 ERMailDataAttachment (String fileName, String id, NSData content)
String fileName ()
DataHandler getDataHandler ()
void setContentID (String id)
void setFileName (String name)

Protected Member Functions

 ERMailDataAttachment (Object content)
BodyPart getBodyPart () throws MessagingException

Protected Attributes

String _contentID
DataHandler _dataHandler
String _fileName
String _mimeType


Detailed Description

Attaches a byte array or NSData to a mail. The mime type is pulled from the file name, so be sure to provide a reasonable one.

Author:
ak

Constructor & Destructor Documentation

ERMailDataAttachment ( Object  content  )  [protected]

ERMailDataAttachment ( String  fileName,
String  id,
NSData  content 
)

ERMailDataAttachment ( String  fileName,
String  id,
byte  content[] 
)

ERMailDataAttachment ( String  aFilename,
String  anId,
DataHandler  aHandler 
)


Member Function Documentation

String contentID (  ) 

String fileName (  ) 

BodyPart getBodyPart (  )  throws MessagingException [protected, virtual]

Implements ERMailAttachment.

DataHandler getDataHandler (  ) 

void setContentID ( String  id  ) 

void setFileName ( String  name  ) 


Member Data Documentation

String _contentID [protected]

DataHandler _dataHandler [protected]

String _fileName [protected]

String _mimeType [protected]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:22 2012 for Project Wonder by  doxygen 1.5.8