java.lang.Object | |
↳ | android.net.MailTo |
MailTo URL parser This class parses a mailto scheme URL and then can be queried for the parsed parameters. This implements RFC 2368.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | MAILTO_SCHEME |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieve the body line from the parsed mailto URL.
| |||||||||||
Retrieve the CC address line from the parsed mailto URL.
| |||||||||||
Retrieve all the parsed email headers from the mailto URL
| |||||||||||
Retrieve the subject line from the parsed mailto URL.
| |||||||||||
Retrieve the To address line from the parsed mailto URL.
| |||||||||||
Test to see if the given string is a mailto URL
| |||||||||||
Parse and decode a mailto scheme string.
| |||||||||||
Returns a string containing a concise, human-readable description of this
object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
|
Retrieve the body line from the parsed mailto URL. If no body line was specified, then null is return
Retrieve the CC address line from the parsed mailto URL. This could be several email address that are comma-space delimited. If no CC line was specified, then null is return
Retrieve all the parsed email headers from the mailto URL
Retrieve the subject line from the parsed mailto URL. If no subject line was specified, then null is return
Retrieve the To address line from the parsed mailto URL. This could be several email address that are comma-space delimited. If no To line was specified, then null is return
Test to see if the given string is a mailto URL
url | string to be tested |
---|
Parse and decode a mailto scheme string. This parser implements RFC 2368. The returned object can be queried for the parsed parameters.
url | String containing a mailto URL |
---|
ParseException | if the scheme is not a mailto URL |
---|
Returns a string containing a concise, human-readable description of this
object. Subclasses are encouraged to override this method and provide an
implementation that takes into account the object's type and data. The
default implementation simply concatenates the class name, the '@' sign
and a hexadecimal representation of the object's hashCode()
,
that is, it is equivalent to the following expression:
getClass().getName() + '@' + Integer.toHexString(hashCode())