|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RFC2045MimeDescriptor
Describes standard RFC2045 headers.
Method Summary | |
---|---|
java.lang.String |
getContentDescription()
Gets the value of the RFC Content-Description header. |
java.lang.String |
getContentId()
Gets the value of the RFC Content-ID header. |
int |
getMimeMajorVersion()
Gets the MIME major version as specified by the MIME-Version
header. |
int |
getMimeMinorVersion()
Gets the MIME minor version as specified by the MIME-Version
header. |
MimeException |
getMimeVersionParseException()
When the MIME version header exists but cannot be parsed this field will be contain the exception. |
Methods inherited from interface org.apache.james.mime4j.descriptor.ContentDescriptor |
---|
getCharset, getContentLength, getContentTypeParameters, getMediaType, getMimeType, getSubType, getTransferEncoding |
Method Detail |
---|
int getMimeMajorVersion()
MIME-Version
header.
Defaults to one.
int getMimeMinorVersion()
MIME-Version
header.
Defaults to zero.
MimeException getMimeVersionParseException()
MimeException
if the mime header cannot
be parsed, null otherwisejava.lang.String getContentDescription()
Content-Description
header.
Content-Description
when present,
null otherwisejava.lang.String getContentId()
Content-ID
header.
Content-ID
when present,
null otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |