|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.network.MapiProperty
public class MapiProperty
Represents the mapi property.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
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.
public String toString()
Returns a T:System.String
that represents the current T:System.Object
.
toString
in class Object
T:System.String
that represents the current T:System.Object
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |