MapiProperty

Inheritance: java.lang.Object

public class MapiProperty

Represents the mapi property.

Constructors

Constructor Description
MapiProperty(long tag, byte[] data) Initializes a new instance of the MapiProperty class.
MapiProperty(long tag) Initializes a new instance of the MapiProperty class.
MapiProperty(PidTagPropertyDescriptor pd, Object data) Initializes a new instance of the MapiProperty class.
MapiProperty(PidLidPropertyDescriptor pd, Object data) Initializes a new instance of the MapiProperty class.
MapiProperty(long tag, Iterable values) Initializes a new instance of the MapiProperty class.
MapiProperty(long tag, long signedParam, byte[] data) Initializes a new instance of the MapiProperty class.
MapiProperty(String name, long tag, long signedParam, byte[] data) Initializes a new instance of the MapiProperty class.

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
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.
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.
isSigned() Indicates whether the binary data is signed.
notify()
notifyAll()
setSigned(boolean value) Indicates whether the binary data is signed.
toString() Returns a String that represents the current Object.
wait()
wait(long arg0)
wait(long arg0, int arg1)

MapiProperty(long tag, byte[] data)

public MapiProperty(long tag, byte[] data)

Initializes a new instance of the MapiProperty class.

Parameters:

Parameter Type Description
tag long The tag key of the property.
data byte[] The binary data of the property.

MapiProperty(long tag)

public MapiProperty(long tag)

Initializes a new instance of the MapiProperty class.

Parameters:

Parameter Type Description
tag long The tag key of the property.

MapiProperty(PidTagPropertyDescriptor pd, Object data)

public MapiProperty(PidTagPropertyDescriptor pd, Object data)

Initializes a new instance of the MapiProperty class.

Parameters:

Parameter Type Description
pd PidTagPropertyDescriptor Property descriptor
data java.lang.Object The data of the property.

MapiProperty(PidLidPropertyDescriptor pd, Object data)

public MapiProperty(PidLidPropertyDescriptor pd, Object data)

Initializes a new instance of the MapiProperty class.

Parameters:

Parameter Type Description
pd PidLidPropertyDescriptor Property descriptor
data java.lang.Object The data of the property.

MapiProperty(long tag, Iterable values)

public MapiProperty(long tag, Iterable<?> values)

Initializes a new instance of the MapiProperty class. This overload is used to create a multiple valued property, PT_MV_*.

Parameters:

Parameter Type Description
tag long The property tag.
values java.lang.Iterable The values.

MapiProperty(long tag, long signedParam, byte[] data)

public MapiProperty(long tag, long signedParam, byte[] data)

Initializes a new instance of the MapiProperty class.

Parameters:

Parameter Type Description
tag long The property tag.
signedParam long The signed.
data byte[] The property data.

MapiProperty(String name, long tag, long signedParam, byte[] data)

public MapiProperty(String name, long tag, long signedParam, byte[] data)

Initializes a new instance of the MapiProperty class.

Parameters:

Parameter Type Description
name java.lang.String The name.
tag long The tag key of the property.
signedParam long Indicates the data is signed or not.
data byte[] The binary data of the property.

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

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

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

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

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