|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.james.mime4j.message.MaximalBodyDescriptor
public class MaximalBodyDescriptor
Extended BodyDescriptor
implementation with complete content details.
Method Summary | |
---|---|
String |
getBoundary()
|
String |
getCharset()
|
String |
getContentDescription()
Gets the value of the RFC Content-Description header. |
Date |
getContentDispositionCreationDate()
Gets the creation-date parameter value of the content-disposition field. |
String |
getContentDispositionFilename()
Gets the filename parameter value of the content-disposition field. |
Date |
getContentDispositionModificationDate()
Gets the modification-date parameter value of the content-disposition field. |
Map<String,String> |
getContentDispositionParameters()
Gets the parameters of the content-disposition field. |
Date |
getContentDispositionReadDate()
Gets the read-date parameter value of the content-disposition field. |
long |
getContentDispositionSize()
Gets the size parameter value of the content-disposition field. |
String |
getContentDispositionType()
Gets the disposition type of the content-disposition field. |
String |
getContentId()
Gets the value of the RFC Content-ID header. |
List<String> |
getContentLanguage()
Get the content-language header values. |
long |
getContentLength()
|
String |
getContentLocation()
Get the content-location header value. |
String |
getContentMD5Raw()
Gets the raw, Base64 encoded value of the Content-MD5 field. |
Map<String,String> |
getContentTypeParameters()
|
String |
getMediaType()
|
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. |
String |
getMimeType()
|
String |
getSubType()
|
String |
getTransferEncoding()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String getMimeType()
getMimeType
in interface ContentDescriptor
public String getBoundary()
getBoundary
in interface BodyDescriptor
public String getCharset()
getCharset
in interface ContentDescriptor
public String getMediaType()
getMediaType
in interface ContentDescriptor
public String getSubType()
getSubType
in interface ContentDescriptor
public Map<String,String> getContentTypeParameters()
public String getTransferEncoding()
getTransferEncoding
in interface ContentDescriptor
public long getContentLength()
getContentLength
in interface ContentDescriptor
public int getMimeMajorVersion()
MIME-Version
header.
Defaults to one.
public int getMimeMinorVersion()
MIME-Version
header.
Defaults to zero.
public String getContentDescription()
Content-Description
header.
Content-Description
when present,
null otherwisepublic String getContentId()
Content-ID
header.
Content-ID
when present,
null otherwisepublic String getContentDispositionType()
content-disposition
field.
The value is case insensitive and will be converted to lower case.
See RFC2183.
public Map<String,String> getContentDispositionParameters()
content-disposition
field.
See RFC2183.
public String getContentDispositionFilename()
filename
parameter value of the content-disposition
field.
See RFC2183.
public Date getContentDispositionModificationDate()
modification-date
parameter value of the content-disposition
field.
See RFC2183.
public Date getContentDispositionCreationDate()
creation-date
parameter value of the content-disposition
field.
See RFC2183.
public Date getContentDispositionReadDate()
read-date
parameter value of the content-disposition
field.
See RFC2183.
public long getContentDispositionSize()
size
parameter value of the content-disposition
field.
See RFC2183.
public List<String> getContentLanguage()
content-language
header values.
Each applicable language tag will be returned in order.
See RFC4646
http://tools.ietf.org/html/rfc4646.
public String getContentLocation()
content-location
header value.
See RFC2557
public String getContentMD5Raw()
Content-MD5
field.
See RFC1864.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |