public class Address extends Object
Address
class encapsulates an address
used in some TNEF message attributes.Constructor and Description |
---|
Address()
Constructs an empty Address.
|
Address(RawInputStream data)
Constructs an Address using the given TNEF stream.
|
Address(String displayName,
String type,
String address)
Constructs a Address containing the specified values.
|
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Gets the address.
|
String |
getDisplayName()
Gets the Address display name.
|
String |
getType()
Gets the Address type.
|
String |
toString()
Returns a string representation of this object.
|
public Address()
public Address(RawInputStream data) throws IOException
data
- the TNEF stream to parse address fromIOException
- if the stream end is reached,
or if an I/O error occursThis software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.