| java.lang.Object javax.wireless.messaging.MessagePart
MessagePart | public class MessagePart (Code) | | This class is defined by the JSR-205 specification
Wireless Messaging API (WMA)
Version 2.0.
|
Constructor Summary | |
public | MessagePart(byte[] contents, int offset, int length, java.lang.String mimeType, java.lang.String contentId, java.lang.String contentLocation, java.lang.String enc) | public | MessagePart(byte[] contents, java.lang.String mimeType, java.lang.String contentId, java.lang.String contentLocation, java.lang.String enc) | public | MessagePart(java.io.InputStream is, java.lang.String mimeType, java.lang.String contentId, java.lang.String contentLocation, java.lang.String enc) |
BUFFER_SIZE | final static int BUFFER_SIZE(Code) | | Buffer size 2048.
|
MAX_PART_SIZE_BYTES | static int MAX_PART_SIZE_BYTES(Code) | | Maximum size for message part.
|
US_ASCII_LOWEST_VALID_CHAR | final static char US_ASCII_LOWEST_VALID_CHAR(Code) | | Lowest valid ASCII character.
|
US_ASCII_VALID_BIT_MASK | final static char US_ASCII_VALID_BIT_MASK(Code) | | Mask for ASCII character checks.
|
content | byte[] content(Code) | | Content byte array.
|
contentLocation | String contentLocation(Code) | | Content location.
|
containsNonUSASCII | static boolean containsNonUSASCII(String str)(Code) | | Checks if a string contains non-ASCII characters.
Parameters: str - Text to be checked. true if non-ASCII characters are found. |
getContent | public byte[] getContent()(Code) | | |
getLength | public int getLength()(Code) | | |
|
|