public static interface FetchResponse.Structure
Modifier and Type | Method and Description |
---|---|
FetchResponse.Structure |
getBody()
Gets the envelope of an embedded mail.
|
String |
getDescription()
Gets
Content-Description . |
String |
getDisposition()
Gets header field-value from
Content-Disposition . |
Map<String,String> |
getDispositionParams()
Gets header field-value from
Content-Disposition . |
String |
getEncoding()
Gets content transfer encoding.
|
FetchResponse.Envelope |
getEnvelope()
Gets the envelope of an embedded mail.
|
String |
getId()
Gets
Content-ID . |
List<String> |
getLanguages()
Gets MIME
Content-Language 's. |
long |
getLines()
Gets the number of lines fo transfer encoding for a
TEXT
type. |
String |
getLocation()
Gets
Content-Location . |
String |
getMD5()
Gets
Content-MD5 . |
String |
getMediaType()
Gets the MIME media type.
|
long |
getOctets()
Gets the size of message body the in octets.
|
List<String> |
getParameters()
Gets body type parameters.
|
String |
getSubType()
Gets the MIME content subtype
|
Iterator<FetchResponse.Structure> |
parts()
Iterates parts of a composite media type.
|
String getMediaType()
String getSubType()
String getId()
Content-ID
.String getDescription()
Content-Description
.Content-Description
, possibly nullString getEncoding()
Content-Transfer-Encoding
, possibly nulllong getOctets()
long getLines()
TEXT
type.TEXT
, -1 otherwiseString getMD5()
Content-MD5
.BODY
FETCH or not presentMap<String,String> getDispositionParams()
Content-Disposition
.String
indexed by field name
String
or null if BODY
FETCH or not
presentString getDisposition()
Content-Disposition
.BODY
FETCH or not presentList<String> getLanguages()
Content-Language
's.Content-Language
name
String
's possibly null or null when
BODY
FETCHString getLocation()
Content-Location
.BODY
FETCHIterator<FetchResponse.Structure> parts()
Structure
Iterator
when composite
type, null otherwiseFetchResponse.Envelope getEnvelope()
Envelope
when message/rfc822
otherwise nullFetchResponse.Structure getBody()
Structure
when when message/rfc822
otherwise nullCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.