|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface defining the contract for interaction with the JwmaMessagePart model.
The JwmaMessagePart allows a view programmer to obtain information about a part of a multipart message.
Method Summary | |
java.lang.String |
getContentType()
Returns a String representing the content type of this message part. |
java.lang.String |
getDescription()
Returns a String representing the description of this message part. |
java.lang.String |
getName()
Returns a String representing the name of this message part. |
int |
getPartNumber()
Returns an int representing the number of this message part. |
int |
getSize()
Returns an int representing the size of this message part in bytes. |
boolean |
isMimeType(java.lang.String type)
Tests if this JwmaMessagePart is of the given type. |
Method Detail |
public int getPartNumber()
This number is the unique identifier for a part of a message.
public java.lang.String getContentType()
public boolean isMimeType(java.lang.String type)
type
- the Mime type as String.public java.lang.String getDescription()
public java.lang.String getName()
public int getSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |