net.freeutils.tnef
public class TRPAddress extends Address
TRPAddress class encapsulates a TRP-formatted address
used in some TNEF message attributes.
Since: 2003-04-25
| Field Summary | |
|---|---|
| static int | trpidClassEntry
TRP Address ID constant. |
| static int | trpidGroupNSID
TRP Address ID constant. |
| static int | trpidIgnore
TRP Address ID constant. |
| static int | trpidNull
TRP Address ID constant. |
| static int | trpidOffline
TRP Address ID constant. |
| static int | trpidOneOff
TRP Address ID constant. |
| static int | trpidResolvedAddress
TRP Address ID constant. |
| static int | trpidResolvedGroupAddress
TRP Address ID constant. |
| static int | trpidResolvedNSID
TRP Address ID constant. |
| static int | trpidUnresolved
TRP Address ID constant. |
| Constructor Summary | |
|---|---|
| TRPAddress(RawInputStream data)
Constructs a TRPAddress using the given TNEF stream.
| |
| TRPAddress(int ID, String displayName, String type, String address)
Constructs a TRPAddress containing the specified values.
| |
| Method Summary | |
|---|---|
| int | getID()
Gets the TRPAddress ID.
|
| String | toString()
Returns a string representation of this object.
|
Parameters: data the TNEF stream to parse address from
Throws: IOException if the stream end is reached, or if an I/O error occurs
Parameters: ID the ID of the TRPAddress (from trpid* constants) displayName the display name associated with address type the address type address the address
Returns: the TRPAddress ID
Returns: a string representation of this object