Top Description Fields Constructors Methods
com.sun.mail.imap.protocol

public Class ID

extends Object
Class Inheritance
Imports
java.util.*, com.sun.mail.iap.*

This class represents the response to the ID command.

See RFC 2971.

Author
Bill Shannon
Since
JavaMail 1.5.1

Field Summary

Modifier and TypeField and Description
private Map<String, String>

Constructor Summary

AccessConstructor and Description
public
ID(Response
the response
r
)

Parse the server parameter list out of the response.

Method Summary

Modifier and TypeMethod and Description
pack-priv static Argument
getArgumentList(Map<String, String> clientParams)

Convert the client parameters into an argument list for the ID command.

pack-priv Map<String, String>
getServerParams()

Return the parsed server params.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

serverParamsback to summary
private Map<String, String> serverParams

Constructor Detail

IDback to summary
public ID(Response r) throws ProtocolException

Parse the server parameter list out of the response.

Parameters
r:Response

the response

Exceptions
ProtocolException:
for protocol failures

Method Detail

getArgumentListback to summary
pack-priv static Argument getArgumentList(Map<String, String> clientParams)

Convert the client parameters into an argument list for the ID command.

getServerParamsback to summary
pack-priv Map<String, String> getServerParams()

Return the parsed server params.