public final class PlainTextAddress
extends javax.mail.internet.InternetAddress
PlainTextAddress
- A plain text internet address without a personal part.Constructor and Description |
---|
PlainTextAddress(java.lang.String address)
Constructs a new
PlainTextAddress . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object address) |
java.lang.String |
getAddress() |
static PlainTextAddress[] |
getAddresses(java.lang.String[] addresses)
Creates a newly allocated array of
PlainTextAddress generated from specified addresses. |
java.lang.String |
getPersonal() |
java.lang.String |
getType() |
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toUnicodeString() |
public PlainTextAddress(java.lang.String address)
PlainTextAddress
.address
- The plain text addresspublic static PlainTextAddress[] getAddresses(java.lang.String[] addresses)
PlainTextAddress
generated from specified addresses.addresses
- The source addresses as an array of String
PlainTextAddress
public java.lang.String getType()
getType
in class javax.mail.internet.InternetAddress
public java.lang.String toString()
toString
in class javax.mail.internet.InternetAddress
public java.lang.String getAddress()
getAddress
in class javax.mail.internet.InternetAddress
public java.lang.String getPersonal()
getPersonal
in class javax.mail.internet.InternetAddress
public boolean equals(java.lang.Object address)
equals
in class javax.mail.internet.InternetAddress
public int hashCode()
hashCode
in class javax.mail.internet.InternetAddress
public java.lang.String toUnicodeString()
toUnicodeString
in class javax.mail.internet.InternetAddress