|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencrx.application.uses.net.freeutils.tnef.MAPIPropName
public class MAPIPropName
The 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.
Field Summary | |
---|---|
static int |
MNID_ID
MAPI property name type constant. |
static int |
MNID_STRING
MAPI property name type constant. |
Constructor Summary | |
---|---|
MAPIPropName(GUID guid,
long ID)
Constructs a MAPIPropName containing given values. |
|
MAPIPropName(GUID guid,
String name)
Constructs a MAPIPropName containing given values |
|
MAPIPropName(RawInputStream data)
Constructs a MAPIPropName using the given TNEF stream. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int MNID_ID
public static final int MNID_STRING
Constructor Detail |
---|
public MAPIPropName(RawInputStream data) throws IOException
data
- the TNEF stream containing the property name data
IOException
- if the stream end is reached,
or if an I/O error occurspublic MAPIPropName(GUID guid, long ID)
guid
- the property GUIDID
- the property IDpublic MAPIPropName(GUID guid, String name)
guid
- the property GUIDname
- the property nameMethod Detail |
---|
public GUID getGUID()
public int getType()
public long getID()
public String getName()
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
true
if this object is the same as the obj
argument; false
otherwisepublic int hashCode()
hashCode
in class Object
protected int getRawLength()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |