|
||||||||||
| 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.MAPIProps
public class MAPIProps
The MAPIProps class encapsulates a collection of MAPI properties.
| Constructor Summary | |
|---|---|
MAPIProps(MAPIProp[] props)
Creates MAPIProps using the given properties. |
|
MAPIProps(RawInputStream data)
Creates MAPIProps using the given TNEF stream. |
|
| Method Summary | |
|---|---|
MAPIProp |
getProp(int ID)
Gets a property with the given ID. |
MAPIProp |
getProp(MAPIPropName name)
Gets a property with the given name. |
MAPIProp[] |
getProps()
Gets all the properties. |
Object |
getPropValue(int ID)
Gets the first value of a specific MAPI property, if it exists. |
Object |
getPropValue(MAPIPropName name)
Gets the first value of a specific MAPI property, if it exists. |
protected int |
getRawLength()
Gets the raw data length (in bytes) of this instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MAPIProps(RawInputStream data)
throws IOException
data - the TNEF stream containing property data
IOException - if the stream end is reached,
or if an I/O error occurspublic MAPIProps(MAPIProp[] props)
props - an array of MAPI properties| Method Detail |
|---|
public MAPIProp[] getProps()
public MAPIProp getProp(int ID)
ID - the requested property ID
public MAPIProp getProp(MAPIPropName name)
name - the requested property name
public Object getPropValue(int ID)
throws IOException
ID - the ID of the requested property
IOException - if an I/O error occurs
public Object getPropValue(MAPIPropName name)
throws IOException
name - the name of the requested property
IOException - if an I/O error occursprotected int getRawLength()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||