IP*Works! V9

ipworks
Class MessagePart

java.lang.Object
  extended by ipworks.MessagePart

public class MessagePart
extends java.lang.Object

A message part of a message listing.

Messages are split into message parts. Each messagepart is specified by a unique identifier, namely the Id field. Each part contains data, and other fields describing that part.

ContentDisposition: This field shows the value of the Content-Disposition header of the message part.

ContentEncoding: This field shows how the data is encoded.

ContentId: This field shows the value of the Content-Id header of the message part.

ContentType: This field shows the type of data contained in the message part.

Filename: This field shows the filename corresponding to the part (if the part was included in the message as an attached file).

Id: This field contains the identifier of a part listing which may be identified in other parts or messages. The format of part identifiers is specified by the IMAP RFCs.

MultipartMode: This field shows how this part relates to the message's whole multipart structure ('mixed', 'alternative', etc.).

Parameters: This field contains the additional parameters passed to the ContentType header such as the part charset etc.

Size: This field contains the size of a part in a message part listing.

See Also:
Atom, Atom.MessagePart

Constructor Summary
MessagePart()
           
 
Method Summary
 java.lang.String getContentDisposition()
           
 java.lang.String getContentEncoding()
           
 java.lang.String getContentId()
           
 java.lang.String getContentType()
           
 java.lang.String getFilename()
           
 java.lang.String getId()
           
 java.lang.String getMultipartMode()
           
 java.lang.String getParameters()
           
 long getSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessagePart

public MessagePart()
Method Detail

getContentDisposition

public java.lang.String getContentDisposition()

getContentEncoding

public java.lang.String getContentEncoding()

getContentId

public java.lang.String getContentId()

getContentType

public java.lang.String getContentType()

getFilename

public java.lang.String getFilename()

getId

public java.lang.String getId()

getMultipartMode

public java.lang.String getMultipartMode()

getParameters

public java.lang.String getParameters()

getSize

public long getSize()

IP*Works! V9

Copyright (c) 2013 /n software inc. - All rights reserved.