Class Overview
This class represents a response obtained from the input stream
of an IMAP server.
Summary
|
[Expand]
Inherited Methods |
From class
com.google.code.com.sun.mail.imap.protocol.IMAPResponse
|
From class
com.google.code.com.sun.mail.iap.Response
|
static
Response
|
byeResponse(Exception ex)
Return a Response object that looks like a BYE protocol response.
|
|
String
|
getRest()
Return the rest of the response as a string, usually used to
return the arbitrary message text after a NO response.
|
|
String
|
getTag()
Return the tag, if this is a tagged statement.
|
|
int
|
getType()
|
|
boolean
|
isBAD()
|
|
boolean
|
isBYE()
|
|
boolean
|
isContinuation()
|
|
boolean
|
isNO()
|
|
boolean
|
isOK()
|
|
boolean
|
isSynthetic()
|
|
boolean
|
isTagged()
|
|
boolean
|
isUnTagged()
|
|
byte
|
peekByte()
|
|
String
|
readAtom(char delim)
Extract an ATOM, but stop at the additional delimiter
(if not NUL).
|
|
String
|
readAtom()
Extract an ATOM, starting at the current position.
|
|
String
|
readAtomString()
Extract an ASTRING, starting at the current position
and return as a String.
|
|
byte
|
readByte()
Return the next byte from this Statement.
|
|
ByteArray
|
readByteArray()
Extract a NSTRING, starting at the current position.
|
|
ByteArrayInputStream
|
readBytes()
Extract a NSTRING, starting at the current position.
|
|
long
|
readLong()
Extract a long number, starting at the current position.
|
|
int
|
readNumber()
Extract an integer, starting at the current position.
|
|
String
|
readString(char delim)
Read a string as an arbitrary sequence of characters,
stopping at the delimiter Used to read part of a
response code inside [].
|
|
String
|
readString()
Extract a NSTRING, starting at the current position.
|
|
String[]
|
readStringList()
|
|
void
|
reset()
Reset pointer to beginning of response.
|
|
void
|
skip(int count)
|
|
void
|
skipSpaces()
|
|
void
|
skipToken()
Skip to the next space, for use in error recovery while parsing.
|
|
String
|
toString()
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Fields
private
static
final
char[]
HEADER
private
static
final
char[]
TEXT
Public Constructors
Public Methods
public
Item
getItem
(Class c)
public
Item
getItem
(int index)
public
int
getItemCount
()