Interface IMAPMessageDescriptor.BodyStructure

Enclosing interface:
IMAPMessageDescriptor

public static interface IMAPMessageDescriptor.BodyStructure
MIME body structure for a message or part.
  • Method Details

    • getType

      String getType()
      Returns the MIME type (e.g., "text")
    • getSubtype

      String getSubtype()
      Returns the MIME subtype (e.g., "plain")
    • getParameters

      Map<String,String> 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

      Returns the envelope for message/rfc822 parts
    • getBody

      Returns nested body structure for message/rfc822 parts
    • 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

      Map<String,String> getDispositionParameters()
      Returns disposition parameters
    • getLanguage

      String[] getLanguage()
      Returns the content language, or null
    • getLocation

      String getLocation()
      Returns the content location, or null