Package org.bluezoo.gumdrop.mailbox
Interface IMAPMessageDescriptor.BodyStructure
- Enclosing interface:
- IMAPMessageDescriptor
public static interface IMAPMessageDescriptor.BodyStructure
MIME body structure for a message or part.
-
Method Summary
Modifier and TypeMethodDescriptiongetBody()Returns nested body structure for message/rfc822 partsReturns the Content-ID, or nullReturns the Content-Description, or nullReturns the Content-Disposition, or nullReturns disposition parametersReturns the Content-Transfer-EncodingReturns the envelope for message/rfc822 partsString[]Returns the content language, or nulllonggetLines()Returns the number of text lines (for text types)Returns the content location, or nullgetMd5()Returns the MD5 sum, or nullReturns the body parameters (e.g., charset)getParts()Returns child parts for multipart typeslonggetSize()Returns the size in octetsReturns the MIME subtype (e.g., "plain")getType()Returns the MIME type (e.g., "text")
-
Method Details
-
getType
String getType()Returns the MIME type (e.g., "text") -
getSubtype
String getSubtype()Returns the MIME subtype (e.g., "plain") -
getParameters
Returns the body parameters (e.g., charset) -
getContentId
String getContentId()Returns the Content-ID, or null -
getDescription
String getDescription()Returns the Content-Description, or null -
getEncoding
String getEncoding()Returns the Content-Transfer-Encoding -
getSize
long getSize()Returns the size in octets -
getLines
long getLines()Returns the number of text lines (for text types) -
getEnvelope
IMAPMessageDescriptor.Envelope getEnvelope()Returns the envelope for message/rfc822 parts -
getBody
IMAPMessageDescriptor.BodyStructure getBody()Returns nested body structure for message/rfc822 parts -
getParts
IMAPMessageDescriptor.BodyStructure[] getParts()Returns child parts for multipart types -
getMd5
String getMd5()Returns the MD5 sum, or null -
getDisposition
String getDisposition()Returns the Content-Disposition, or null -
getDispositionParameters
Returns disposition parameters -
getLanguage
String[] getLanguage()Returns the content language, or null -
getLocation
String getLocation()Returns the content location, or null
-