All Packages Class Hierarchy This Package Previous Next Index
Class netscape.messaging.convenience.IMAttachment
java.lang.Object
|
+----netscape.messaging.convenience.IMAttachment
- public class IMAttachment
- extends Object
The IMAttachment class represents a MIME attachment for an
email message.
-
IMAttachment(InputStream, int, String, String, int, int)
- Constructor for an IMAttachment object.
-
IMAttachment(String, int, String, String, int, int)
- Constructor for an IMAttachment object that includes a filename.
IMAttachment
public IMAttachment(InputStream dataStream,
int contentPrimaryType,
String contentSubType,
String contentParameters,
int contentDisposition,
int encoding) throws IMException
- Constructor for an IMAttachment object.
- Parameters:
- dataStream - InputStream to attachment data. Cannot be null.
- contentPrimaryType - Primary content-type of the message.
- contentSubType - Strings representing the content sub-types.
- contentParameters - Strings representing the content-type parameters.
- contentDisposition - Can only be IMTransport.INLINE or IMTransport.ATTACHMENT
- encodings - Can only be IMTransport.BASE64 or IMTransport.QP or IMTransport.NONE
- See Also:
- TEXT, AUDIO, IMAGE, VIDEO, APPLICATION, INLINE, ATTACHMENT, BASE64, QP, NONE
IMAttachment
public IMAttachment(String fullfileName,
int contentPrimaryType,
String contentSubType,
String contentParameters,
int contentDisposition,
int encoding) throws IMException
- Constructor for an IMAttachment object that includes a filename.
- Parameters:
- fullfileName - Full name (including path) of a file that contains attachment data.
- contentPrimaryType - Primary content-type of the message.
- contentSubType - Strings representing the content sub-types.
- contentParameters - Strings representing the content-type parameters.
- contentDisposition - Can only be IMTransport.INLINE or IMTransport.ATTACHMENT
- encodings - Can only be IMTransport.BASE64 or IMTransport.QP or IMTransport.NONE
- See Also:
- TEXT, AUDIO, IMAGE, VIDEO, APPLICATION, INLINE, ATTACHMENT, BASE64, QP, NONE
All Packages Class Hierarchy This Package Previous Next Index