net.freeutils.tnef
public class MAPIProps extends Object
MAPIProps class encapsulates a collection of MAPI properties.
Since: 2003-08-15
| Constructor Summary | |
|---|---|
| MAPIProps(RawInputStream data)
Creates MAPIProps using the given TNEF stream.
| |
| MAPIProps(MAPIProp[] props)
Creates MAPIProps using the given properties.
| |
| 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.
|
Parameters: data the TNEF stream containing property data
Throws: IOException if the stream end is reached, or if an I/O error occurs
Parameters: props an array of MAPI properties
Parameters: ID the requested property ID
Returns: the requested property, or null if no such property exists
Parameters: name the requested property name
Returns: the requested property, or null if no such property exists
Returns: all the properties
Parameters: ID the ID of the requested property
Returns: the value of the requested property, or null if it does not exist
Throws: IOException if an I/O error occurs
Parameters: name the name of the requested property
Returns: the value of the requested property, or null if it does not exist
Throws: IOException if an I/O error occurs
Returns: the raw data length (in bytes) of this instance