MapiObjectProperty

Inheritance: java.lang.Object, com.aspose.email.MapiProperty

public class MapiObjectProperty extends MapiProperty

Represents a Custom object included in Outlook Message documents.

Methods

Method Description
createMapiPropertyFromBytes(long tag, byte[] data) Creates the mapi property from bytes.
createMapiPropertyFromDateTime(long tag, Date data) Creates the mapi property from date time.
createMapiPropertyFromLong(long tag, long data) Creates the mapi property from long.
createMapiPropertyFromLong(long tag, long data, long delimiter) Creates the mapi property from long.
equals(Object arg0)
getBoolean() Gets the first bytes of the binary data as boolean.
getClass()
getCurrency() Gets the Currency as string using the specified code page.
getData() Gets the binary data.
getDataType() Gets the data type.
getDateTime() Gets the first bytes of the binary data as datetime.
getDescriptor() Gets descriptor of MAPI property
getDocumentName() Gets the document name.
getDouble() Gets the bytes of the binary data as double.
getFloat() Gets the bytes of the binary data as float.
getFloatingDate() Gets the bytes of the binary data as DateTime.
getGuidValue() Gets the bytes of the binary data as Guid.
getIdentifier() Gets the indifier.
getInt32() Gets the first 4 bytes of the binary data as int32.
getLong() Gets the first 8 bytes of the binary data as long.
getMVEntries() Gets the MV entries list.
getMultipleBinary() Gets the multyple binary data.
getMultipleBoolean() Gets the multyple bool values.
getMultipleCurrency() Gets the multyple decimal values.
getMultipleFloating32() Gets the multyple float values.
getMultipleFloating64() Gets the multyple double values.
getMultipleFloatingTime() Gets the multyple DateTime values.
getMultipleGuid() Gets the multyple Guid values.
getMultipleInteger16() Gets the multyple Int16 values.
getMultipleInteger32() Gets the multyple Int32 values.
getMultipleInteger64() Gets the multyple Int64 values.
getMultipleString() Gets the multyple strings data.
getMultipleTime() Gets the multyple DateTime values.
getName() Gets the name.
getOleDocumentFormat() Gets the Ole format type.
getProperties() Gets a collection of MAPI properties.
getPropertyTagName() Gets the PropertyName.
getShort() Gets the first 2 bytes of the binary data as short.
getString() Gets the binary data as string.
getString(int codepage) Gets the binary data as string using the specified code page.
getTag() Gets the tag.
getValue() Gets value as object
hashCode()
isNamed() Indicates whether the property is a named property.
isOutlookMessage() Indicates whether the object property is an embedded outlook message.
isSigned() Indicates whether the binary data is signed.
notify()
notifyAll()
setSigned(boolean value) Indicates whether the binary data is signed.
toMapiMessage() Creates the MapiMessage from object data.
toString() Returns a String that represents the current Object.
wait()
wait(long arg0)
wait(long arg0, int arg1)

createMapiPropertyFromBytes(long tag, byte[] data)

public static MapiProperty createMapiPropertyFromBytes(long tag, byte[] data)

Creates the mapi property from bytes.

Parameters:

Parameter Type Description
tag long The tag.
data byte[] The data.

Returns: MapiProperty -

createMapiPropertyFromDateTime(long tag, Date data)

public static MapiProperty createMapiPropertyFromDateTime(long tag, Date data)

Creates the mapi property from date time.

Parameters:

Parameter Type Description
tag long The tag.
data java.util.Date The data.

Returns: MapiProperty -

createMapiPropertyFromLong(long tag, long data)

public static MapiProperty createMapiPropertyFromLong(long tag, long data)

Creates the mapi property from long.

Parameters:

Parameter Type Description
tag long The tag.
data long The data.

Returns: MapiProperty -

createMapiPropertyFromLong(long tag, long data, long delimiter)

public static MapiProperty createMapiPropertyFromLong(long tag, long data, long delimiter)

Creates the mapi property from long.

Parameters:

Parameter Type Description
tag long The tag.
data long The data.
delimiter long The delimiter.

Returns: MapiProperty -

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getBoolean()

public boolean getBoolean()

Gets the first bytes of the binary data as boolean.

Returns: boolean - The boolean value.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCurrency()

public BigDecimal getCurrency()

Gets the Currency as string using the specified code page.

Returns: java.math.BigDecimal - A string contains the binary data.

getData()

public byte[] getData()

Gets the binary data.

Returns: byte[]

getDataType()

public int getDataType()

Gets the data type.

Returns: int

getDateTime()

public Date getDateTime()

Gets the first bytes of the binary data as datetime.

Returns: java.util.Date - The datetime value.

getDescriptor()

public final PropertyDescriptor getDescriptor()

Gets descriptor of MAPI property

Returns: PropertyDescriptor

getDocumentName()

public final String getDocumentName()

Gets the document name.

Returns: java.lang.String

getDouble()

public double getDouble()

Gets the bytes of the binary data as double.

Returns: double - The double value.

getFloat()

public float getFloat()

Gets the bytes of the binary data as float.

Returns: float - The double value.

getFloatingDate()

public Date getFloatingDate()

Gets the bytes of the binary data as DateTime.

Returns: java.util.Date - The DateTime value.

getGuidValue()

public UUID getGuidValue()

Gets the bytes of the binary data as Guid.

Returns: java.util.UUID - The Guid value.

getIdentifier()

public long getIdentifier()

Gets the indifier.

Returns: long

getInt32()

public int getInt32()

Gets the first 4 bytes of the binary data as int32.

Returns: int - The int32 value.

getLong()

public long getLong()

Gets the first 8 bytes of the binary data as long.

Returns: long - The long value.

getMVEntries()

public final System.Collections.IList getMVEntries()

Gets the MV entries list.

Returns: com.aspose.ms.System.Collections.IList

getMultipleBinary()

public final byte[][] getMultipleBinary()

Gets the multyple binary data.

Returns: byte[][] - A multyple byte arrays.

getMultipleBoolean()

public final boolean[] getMultipleBoolean()

Gets the multyple bool values.

Returns: boolean[] - A bool array.

getMultipleCurrency()

public final BigDecimal[] getMultipleCurrency()

Gets the multyple decimal values.

Returns: java.math.BigDecimal[] - A decimal array.

getMultipleFloating32()

public final float[] getMultipleFloating32()

Gets the multyple float values.

Returns: float[] - A float array.

getMultipleFloating64()

public final double[] getMultipleFloating64()

Gets the multyple double values.

Returns: double[] - A double array.

getMultipleFloatingTime()

public final Date[] getMultipleFloatingTime()

Gets the multyple DateTime values.

Returns: java.util.Date[] - A DateTime array.

getMultipleGuid()

public final UUID[] getMultipleGuid()

Gets the multyple Guid values.

Returns: java.util.UUID[] - A Guid array.

getMultipleInteger16()

public final short[] getMultipleInteger16()

Gets the multyple Int16 values.

Returns: short[] - A Int16 array.

getMultipleInteger32()

public final int[] getMultipleInteger32()

Gets the multyple Int32 values.

Returns: int[] - A Int32 array.

getMultipleInteger64()

public final long[] getMultipleInteger64()

Gets the multyple Int64 values.

Returns: long[] - A Int64 array.

getMultipleString()

public final String[] getMultipleString()

Gets the multyple strings data.

Returns: java.lang.String[] - A string array.

getMultipleTime()

public final Date[] getMultipleTime()

Gets the multyple DateTime values.

Returns: java.util.Date[] - A DateTime array.

getName()

public String getName()

Gets the name.

Returns: java.lang.String

getOleDocumentFormat()

public final OleDocumentFormat getOleDocumentFormat()

Gets the Ole format type.

Returns: OleDocumentFormat

getProperties()

public final MapiPropertyCollection getProperties()

Gets a collection of MAPI properties.

Returns: MapiPropertyCollection

getPropertyTagName()

public String getPropertyTagName()

Gets the PropertyName.

Returns: java.lang.String

getShort()

public short getShort()

Gets the first 2 bytes of the binary data as short.

Returns: short - The short value.

getString()

public String getString()

Gets the binary data as string.

Returns: java.lang.String - A string contains the binary data.

getString(int codepage)

public String getString(int codepage)

Gets the binary data as string using the specified code page.

Parameters:

Parameter Type Description
codepage int The code page.

Returns: java.lang.String - A string contains the binary data.

getTag()

public long getTag()

Gets the tag.

Returns: long

getValue()

public final Object getValue()

Gets value as object

Returns: java.lang.Object - value of a property

hashCode()

public native int hashCode()

Returns: int

isNamed()

public final boolean isNamed()

Indicates whether the property is a named property.

Returns: boolean

isOutlookMessage()

public final boolean isOutlookMessage()

Indicates whether the object property is an embedded outlook message.

Returns: boolean

isSigned()

public boolean isSigned()

Indicates whether the binary data is signed.

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setSigned(boolean value)

public void setSigned(boolean value)

Indicates whether the binary data is signed.

Parameters:

Parameter Type Description
value boolean

toMapiMessage()

public final MapiMessage toMapiMessage()

Creates the MapiMessage from object data.

Returns: MapiMessage - The resultant MapiMessage.

toString()

public String toString()

Returns a String that represents the current Object.

Returns: java.lang.String - A String that represents the current Object.

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