net.freeutils.tnef
public class MAPIPropName extends Object
MAPIPropName
class encapsulates the name of a named MAPI property.
A MAPI Property name consists of a GUID, as well as either a 32-bit identifier
or a String.
Since: 2003-07-25
Field Summary | |
---|---|
static int | MNID_ID
MAPI property name type constant. |
static int | MNID_STRING
MAPI property name type constant. |
Constructor Summary | |
---|---|
MAPIPropName(RawInputStream data)
Constructs a MAPIPropName using the given TNEF stream.
| |
MAPIPropName(GUID guid, long ID)
Constructs a MAPIPropName containing given values.
| |
MAPIPropName(GUID guid, String name)
Constructs a MAPIPropName containing given values
|
Method Summary | |
---|---|
boolean | equals(Object o)
Returns whether this MAPIPropName is identical to the given MAPIPropName.
|
GUID | getGUID()
Gets the MAPIPropName GUID.
|
long | getID()
Gets the MAPIPropName ID.
|
String | getName()
Gets the MAPIPropName name.
|
protected int | getRawLength()
Gets the raw data length (in bytes) of this instance.
|
int | getType()
Gets the MAPIPropName type.
|
int | hashCode()
Returns a hash code value for the object.
|
String | toString()
Returns a string representation of the object.
|
Parameters: data the TNEF stream containing the property name data
Throws: IOException if the stream end is reached, or if an I/O error occurs
Parameters: guid the property GUID ID the property ID
Parameters: guid the property GUID name the property name
Returns: true
if this object is the same as the obj
argument; false
otherwise
Returns: the MAPIPropName GUID
Returns: the MAPIPropName ID
Returns: the MAPIPropName name
Returns: the raw data length (in bytes) of this instance
Returns: the MAPIPropName type
Returns: a hash code value for this object
Returns: a string representation of the object