MapiType
Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
public final class MapiType extends System.Enum
Contains possible MAPI property types which can be stored with message object.
Constructors
Constructor | Description |
---|---|
MapiType() | Constructor for MapiType. |
Fields
Field | Description |
---|---|
EnumSeparatorCharArray | |
None | No values are set. |
PT_APPTIME | 8 bytes, a 64-bit floating point number in which the whole number part represents the number of days since December 30, 1899, and the fractional part represents the fraction of a day since midnight |
PT_BINARY | Variable size, a byte array |
PT_BOOLEAN | 1 byte, restricted to 1 or 0 |
PT_CLSID | 16 bytes, a GUID with Data1, Data2, and Data3 fields in little-endian format |
PT_CURRENCY | 8 bytes, a 64-bit signed, scaled integer representation of a decimal currency value, with 4 places to the right of the decimal point |
PT_DOUBLE | 8 bytes, a 64-bit floating point number |
PT_ERROR | 4 bytes, a 32-bit integer encoding error information |
PT_FLOAT | 4 bytes, a 32-bit floating point number |
PT_LONG | 4 bytes, a 32-bit integer |
PT_LONGLONG | 8 bytes, a 64-bit integer |
PT_MV_APPTIME | Variable size, a set of PT_APPTIME values. |
PT_MV_BINARY | Variable size, a set of PT_BINARY values. |
PT_MV_CLSID | Variable size, a set of PT_CLSID values. |
PT_MV_CURRENCY | Variable size, a set of PT_CURRENCY values. |
PT_MV_DOUBLE | Variable size, a set of PT_DOUBLE values. |
PT_MV_FLOAT | Variable size, a set of PT_FLOAT values. |
PT_MV_LONG | Variable size, a set of PT_LONG values. |
PT_MV_LONGLONG | Variable size, a set of PT_LONGLONG values. |
PT_MV_SHORT | Variable size, a set of PT_SHORT values. |
PT_MV_STRING8 | Variable size, a set of PT_STRING8 values. |
PT_MV_SYSTIME | Variable size, a set of PT_SYSTIME values. |
PT_MV_UNICODE | Variable size, a set of PT_UNICODE values. |
PT_OBJECT | The property value is a COM object |
PT_SHORT | 2 bytes, a 16-bit integer |
PT_STRING8 | Variable size, a string of multi-byte characters in externally specified encoding with terminating null character (single 0 byte). |
PT_SYSTIME | 8 bytes, a 64-bit integer representing the number of 100-nanosecond intervals since January 1, 1601 |
PT_UNICODE | Variable size, a string of Unicode characters in UTF-16LE encoding with terminating null character(0x0000) |
Methods
MapiType()
public MapiType()
Constructor for MapiType.
EnumSeparatorCharArray
public static final char[] EnumSeparatorCharArray
None
public static final int None
No values are set.
PT_APPTIME
public static final int PT_APPTIME
8 bytes, a 64-bit floating point number in which the whole number part represents the number of days since December 30, 1899, and the fractional part represents the fraction of a day since midnight
PT_BINARY
public static final int PT_BINARY
Variable size, a byte array
PT_BOOLEAN
public static final int PT_BOOLEAN
1 byte, restricted to 1 or 0
PT_CLSID
public static final int PT_CLSID
16 bytes, a GUID with Data1, Data2, and Data3 fields in little-endian format
PT_CURRENCY
public static final int PT_CURRENCY
8 bytes, a 64-bit signed, scaled integer representation of a decimal currency value, with 4 places to the right of the decimal point
PT_DOUBLE
public static final int PT_DOUBLE
8 bytes, a 64-bit floating point number
PT_ERROR
public static final int PT_ERROR
4 bytes, a 32-bit integer encoding error information
PT_FLOAT
public static final int PT_FLOAT
4 bytes, a 32-bit floating point number
PT_LONG
public static final int PT_LONG
4 bytes, a 32-bit integer
PT_LONGLONG
public static final int PT_LONGLONG
8 bytes, a 64-bit integer
PT_MV_APPTIME
public static final int PT_MV_APPTIME
Variable size, a set of PT_APPTIME values.
PT_MV_BINARY
public static final int PT_MV_BINARY
Variable size, a set of PT_BINARY values.
PT_MV_CLSID
public static final int PT_MV_CLSID
Variable size, a set of PT_CLSID values.
PT_MV_CURRENCY
public static final int PT_MV_CURRENCY
Variable size, a set of PT_CURRENCY values.
PT_MV_DOUBLE
public static final int PT_MV_DOUBLE
Variable size, a set of PT_DOUBLE values.
PT_MV_FLOAT
public static final int PT_MV_FLOAT
Variable size, a set of PT_FLOAT values.
PT_MV_LONG
public static final int PT_MV_LONG
Variable size, a set of PT_LONG values.
PT_MV_LONGLONG
public static final int PT_MV_LONGLONG
Variable size, a set of PT_LONGLONG values.
PT_MV_SHORT
public static final int PT_MV_SHORT
Variable size, a set of PT_SHORT values.
PT_MV_STRING8
public static final int PT_MV_STRING8
Variable size, a set of PT_STRING8 values.
PT_MV_SYSTIME
public static final int PT_MV_SYSTIME
Variable size, a set of PT_SYSTIME values.
PT_MV_UNICODE
public static final int PT_MV_UNICODE
Variable size, a set of PT_UNICODE values.
PT_OBJECT
public static final int PT_OBJECT
The property value is a COM object
PT_SHORT
public static final int PT_SHORT
2 bytes, a 16-bit integer
PT_STRING8
public static final int PT_STRING8
Variable size, a string of multi-byte characters in externally specified encoding with terminating null character (single 0 byte).
PT_SYSTIME
public static final int PT_SYSTIME
8 bytes, a 64-bit integer representing the number of 100-nanosecond intervals since January 1, 1601
PT_UNICODE
public static final int PT_UNICODE
Variable size, a string of Unicode characters in UTF-16LE encoding with terminating null character(0x0000)
Clone()
public System.Enum Clone()
Returns: com.aspose.ms.System.Enum
CloneTo(T arg0)
public abstract void CloneTo(T arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T |
CloneTo(System.Enum arg0)
public void CloneTo(System.Enum arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Enum |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
format(System.Type arg0, Object arg1, String arg2)
public static String format(System.Type arg0, Object arg1, String arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.Object | |
arg2 | java.lang.String |
Returns: java.lang.String
format(Class arg0, long arg1, String arg2)
public static String format(Class<?> arg0, long arg1, String arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | long | |
arg2 | java.lang.String |
Returns: java.lang.String
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getName(System.Type arg0, Object arg1)
public static String getName(System.Type arg0, Object arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.Object |
Returns: java.lang.String
getName(Class arg0, long arg1)
public static String getName(Class<?> arg0, long arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | long |
Returns: java.lang.String
getNames(System.Type arg0)
public static String[] getNames(System.Type arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type |
Returns: java.lang.String[]
getNames(Class arg0)
public static Collection<String> getNames(Class<?> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class |
Returns: java.util.Collection<java.lang.String>
getUnderlyingType(System.Type arg0)
public static System.Type getUnderlyingType(System.Type arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type |
Returns: com.aspose.ms.System.Type
getUnderlyingType(Class arg0)
public static Class<? extends Number> getUnderlyingType(Class<?> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class |
Returns: java.lang.Class<? extends java.lang.Number>
getValue(Class arg0, String arg1)
public static long getValue(Class<?> arg0, String arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | java.lang.String |
Returns: long
getValues(System.Type arg0)
public static System.Array getValues(System.Type arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type |
Returns: com.aspose.ms.System.Array
get_Caption()
public String get_Caption()
Returns: java.lang.String
get_Value()
public long get_Value()
Returns: long
hashCode()
public native int hashCode()
Returns: int
isDefined(System.Type arg0, Object arg1)
public static boolean isDefined(System.Type arg0, Object arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.Object |
Returns: boolean
isDefined(System.Type arg0, String arg1)
public static boolean isDefined(System.Type arg0, String arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.String |
Returns: boolean
isDefined(System.Type arg0, long arg1)
public static boolean isDefined(System.Type arg0, long arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | long |
Returns: boolean
isDefined(Class arg0, long arg1)
public static boolean isDefined(Class<?> arg0, long arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | long |
Returns: boolean
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
parse(System.Type arg0, String arg1)
public static long parse(System.Type arg0, String arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.String |
Returns: long
parse(System.Type arg0, String arg1, Boolean arg2)
public static long parse(System.Type arg0, String arg1, Boolean arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.String | |
arg2 | java.lang.Boolean |
Returns: long
parse(Class arg0, String arg1)
public static long parse(Class<?> arg0, String arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | java.lang.String |
Returns: long
parse(Class arg0, String arg1, Boolean arg2)
public static long parse(Class<?> arg0, String arg1, Boolean arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | java.lang.String | |
arg2 | java.lang.Boolean |
Returns: long
register(System.Enum.AbstractEnum arg0)
public static void register(System.Enum.AbstractEnum arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Enum.AbstractEnum |
toObject(System.Type arg0, Object arg1)
public static Object toObject(System.Type arg0, Object arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.Object |
Returns: java.lang.Object
toString()
public String toString()
Returns: java.lang.String
toString(Class arg0, long arg1)
public static String toString(Class<?> arg0, long arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | long |
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |