public class MapiProperty extends Object
Represents the mapi property.
Constructor and Description |
---|
MapiProperty(long tag,
byte[] data)
Initializes a new instance of the MapiProperty class.
|
MapiProperty(long tag,
List 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() |
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.
|
List |
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 |
isSigned()
Indicates whether the binary data is signed.
|
String |
toString()
Returns a
T:System.String that represents the current T:System.Object . |
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 MapiProperty(long tag, long signed, byte[] data)
Initializes a new instance of the MapiProperty
class.
tag
- The tag.signed
- The signed.data
- The data.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, List values)
Initializes a new instance of the MapiProperty
class.
This overload is used to create a multiple valued property, PT_MV_*.
tag
- The tag.values
- The values.public String getPropertyTagName()
Gets the PropertyName.
public String getName()
Gets the name.
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 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()
public String getString(int codepage)
Gets the binary data as string using the specified code page.
codepage
- The code page.public String getString()
Gets the binary data as string.
public boolean isSigned()
Indicates whether the binary data is signed.
public List getMVEntries()
Gets the MV entries list.
Copyright (c) 2008-2013 Aspose Pty Ltd. All Rights Reserved.