|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sssw.srv.mail.AgoMIMEPart | +--com.sssw.srv.mail.AgoMIMEPartByteStream | +--com.sssw.srv.mail.AgoMIMEPartImage
Class is used for MIME parts of type image.
For example, when mailing a JPEG file, it would be stored in an AgoMIMEPartImage.
The AgoMIMEPartImage class is a subclass of AgoMIMEPartByteStream
.
Constructor Summary | |
AgoMIMEPartImage(String subtype)
A constructor for the AgoMIMEPartImage class. |
|
AgoMIMEPartImage(String subtype,
AgoRFC822HeaderFieldSet headerfieldset)
A constructor for the AgoMIMEPartImage class. |
|
AgoMIMEPartImage(String subtype,
AgoRFC822HeaderFieldSet headerfieldset,
AgoEncodingIdentifier encodingidentifier)
A constructor for the AgoMIMEPartImage class. |
|
AgoMIMEPartImage(String subtype,
AgoRFC822HeaderFieldSet headerfieldset,
AgoEncodingIdentifier encodingidentifier,
AgoByteStore value)
A constructor for the AgoMIMEPartImage class. |
Methods inherited from class com.sssw.srv.mail.AgoMIMEPartByteStream |
contentDispositionHeaderField,
contentTransferEncodingHeaderField,
contentTypeHeaderField,
getContentDisposition,
getEncodingIdentifier,
getValue,
setContentDisposition,
setEncodingIdentifier,
setValue,
write,
writeHeaderFields |
Methods inherited from class com.sssw.srv.mail.AgoMIMEPart |
deleteHeaderField,
getHeaderField,
getHeaderFieldSet,
getNameParameterOnContentType,
setHeaderField,
setHeaderField,
setHeaderFieldSet,
setNameParameterOnContentType,
subtype,
type |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public AgoMIMEPartImage(String subtype)
subtype
- the MIME subtype for this part.
For supported types see supported types and subtypes.You only need to specify the subtype since the type is always "image". The encoding will be set to "base64" and there will be a Content-Disposition header specifying "inline".
AgoMIMEPartImage part = new AgoMIMEPartImage("jpeg");
public AgoMIMEPartImage(String subtype, AgoRFC822HeaderFieldSet headerfieldset)
subtype
- the MIME subtype for this part.
For supported subtypes see supported types and subtypes.headerfieldset
- a set of headerfields for this part.You only need to specify the subtype since the type is always "image". The encoding will be set to "base64" and there will be a Content-Disposition header specifying "inline".
AgoRFC822HeaderFieldSet headers; AgoMIMEPartImage part = new AgoMIMEPartImage("jpeg", headers);
AgoRFC822HeaderFieldSet
public AgoMIMEPartImage(String subtype, AgoRFC822HeaderFieldSet headerfieldset, AgoEncodingIdentifier encodingidentifier)
subtype
- the MIME subtype for this part.
For supported subtypes see supported types and subtypes.headerfieldset
- a set of headerfields for this part.encodingidentifier
- specifies the encoding mechanism to use (e.g. AgoMIME.MECHANISM_BASE64).
See supported encoding mechanisms.You only need to specify the subtype since the type is always "image". There will be a Content-Disposition header specifying "inline".
AgoRFC822HeaderFieldSet headers; AgoMIMEPartImage part = new AgoMIMEPartImage("jpeg", headers, "base64");
AgoRFC822HeaderFieldSet
,
AgoEncodingIdentifier
,
AgoEncodingIdentifier
public AgoMIMEPartImage(String subtype, AgoRFC822HeaderFieldSet headerfieldset, AgoEncodingIdentifier encodingidentifier, AgoByteStore value)
subtype
- the MIME subtype for this part.
For supported subtype see supported types and subtypes.headerfieldset
- a set of headerfields for this part.encodingidentifier
- specifies the encoding mechanism to use (e.g. AgoMIME.MECHANISM_BASE64).
See supported encoding mechanisms.value
- specifies the value.You only need to specify the subtype since the type is always "image". There will be a Content-Disposition header specifying "inline".
AgoRFC822HeaderFieldSet headers; AgoByteStore bytes; AgoMIMEPartImage part = new AgoMIMEPartImage("jpeg", headers, "base64", bytes);
AgoRFC822HeaderFieldSet
,
AgoEncodingIdentifier
,
AgoEncodingIdentifier
,
AgoByteStore
|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |