public class MapiProperty extends Object
Represents the mapi property.
Modifier | Constructor and Description |
---|---|
protected |
MapiProperty()
Initializes a new instance of the
MapiProperty class. |
|
MapiProperty(long tag,
byte[] data)
Initializes a new instance of the MapiProperty class.
|
|
MapiProperty(long tag,
com.aspose.ms.System.Collections.IList values)
Initializes a new instance of the
MapiProperty class. |
|
MapiProperty(long tag,
long signed,
byte[] data)
Initializes a new instance of the
MapiProperty class. |
|
MapiProperty(String name,
long tag,
long signed,
byte[] data)
Initializes a new instance of the MapiProperty class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean()
Gets the first bytes of the binary data as boolean.
|
byte[] |
getData()
Gets the binary data.
|
int |
getDataType()
Gets the data type.
|
Date |
getDateTime()
Gets the first bytes of the binary data as datetime.
|
double |
getDouble()
Gets the bytes of the binary data as double.
|
long |
getIdentifier()
Gets the indifier.
|
int |
getInt32()
Gets the first 4 bytes of the binary data as int32.
|
long |
getLong()
Gets the first 8 bytes of the binary data as long.
|
com.aspose.ms.System.Collections.IList |
getMVEntries()
Gets the MV entries list.
|
String |
getName()
Gets the name.
|
String |
getPropertyTagName()
Gets the PropertyName.
|
short |
getShort()
Gets the first 2 bytes of the binary data as short.
|
String |
getString()
Gets the binary data as string.
|
String |
getString(int codepage)
Gets the binary data as string using the specified code page.
|
long |
getTag()
Gets the tag.
|
boolean |
isNamed()
Indicates whether the property is a named property.
|
boolean |
isSigned()
Indicates whether the binary data is signed.
|
String |
toString()
Returns a
T:System.String that represents the current T:System.Object . |
protected MapiProperty()
Initializes a new instance of the MapiProperty
class.
public MapiProperty(long tag, byte[] data)
Initializes a new instance of the MapiProperty class.
tag
- The tag key of the property.data
- The binary data of the property.public MapiProperty(long tag, com.aspose.ms.System.Collections.IList values)
Initializes a new instance of the MapiProperty
class.
This overload is used to create a multiple valued property, PT_MV_*.
tag
- The property tag.values
- The values.public MapiProperty(long tag, long signed, byte[] data)
Initializes a new instance of the MapiProperty
class.
tag
- The property tag.signed
- The signed.data
- The property data.public MapiProperty(String name, long tag, long signed, byte[] data)
Initializes a new instance of the MapiProperty class.
name
- The name.tag
- The tag key of the property.signed
- Indicates the data is signed or not.data
- The binary data of the property.public String getPropertyTagName()
Gets the PropertyName.
String
object.public long getIdentifier()
Gets the indifier.
public long getTag()
Gets the tag.
public int getDataType()
Gets the data type.
public byte[] getData()
Gets the binary data.
public com.aspose.ms.System.Collections.IList getMVEntries()
Gets the MV entries list.
IList
object.public boolean isSigned()
Indicates whether the binary data is signed.
public boolean isNamed()
Indicates whether the property is a named property.
public long getLong()
Gets the first 8 bytes of the binary data as long.
public int getInt32()
Gets the first 4 bytes of the binary data as int32.
public short getShort()
Gets the first 2 bytes of the binary data as short.
public boolean getBoolean()
Gets the first bytes of the binary data as boolean.
public Date getDateTime()
Gets the first bytes of the binary data as datetime.
public String getString()
Gets the binary data as string.
public String getString(int codepage)
Gets the binary data as string using the specified code page.
codepage
- The code page.public double getDouble()
Gets the bytes of the binary data as double.
Copyright (c) 2008-2015 Aspose Pty Ltd. All Rights Reserved.