net.freeutils.tnef
public class MAPIValue extends Object
MAPIProp
class encapsulates the value of a MAPI property.
Since: 2003-07-25
Constructor Summary | |
---|---|
MAPIValue(int type, RawInputStream data, int length)
Constructs a MAPIValue containing a given value.
|
Method Summary | |
---|---|
byte[] | getData()
Gets the MAPIValue data.
|
int | getLength()
Gets the MAPIValue data length (in bytes).
|
RawInputStream | getRawData()
Gets the MAPIValue raw data.
|
int | getType()
Gets the MAPIValue type.
|
Object | getValue()
Returns the value encapsulated by this MAPIValue.
|
String | toString()
Returns a string representation of this object.
|
Parameters: type the value type data the TNEF stream containing the value length the length of the value data (in bytes)
Throws: IllegalArgumentException if type is invalid IOException if the stream end is reached, or if an I/O error occurs
Returns: the MAPIValue data
Returns: the MAPIValue data length (in bytes)
Returns: the MAPIValue raw data
Throws: IOException if the stream end is reached, or if an I/O error occurs
Returns: the MAPIValue type
Returns: the value encapsulated by this MAPIValue
Throws: IOException if the stream end is reached, or if an I/O error occurs
Returns: a string representation of this object