|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.javamail.store.imap.connection.IMAPResponseStream
public class IMAPResponseStream
| Field Summary | |
|---|---|
protected byte[] |
buffer
|
protected int |
BUFFER_SIZE
|
protected InputStream |
in
|
| Constructor Summary | |
|---|---|
IMAPResponseStream(InputStream in)
|
|
| Method Summary | |
|---|---|
void |
checkLiteral()
Check the line just read to see if we're processing a line with a literal value. |
protected boolean |
fillBufferIfNeeded()
|
protected int |
nextByte()
Get the next byte from the input stream, handling read errors and EOF conditions as MessagingExceptions. |
int |
read()
|
void |
readBuffer()
Read a buffer of data. |
byte[] |
readData()
Read a "line" of server response data. |
IMAPResponse |
readResponse()
Read a single response line from the input stream, returning a parsed and processed response line. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final int BUFFER_SIZE
protected InputStream in
protected byte[] buffer
| Constructor Detail |
|---|
public IMAPResponseStream(InputStream in)
| Method Detail |
|---|
public int read()
throws IOException
IOException
protected boolean fillBufferIfNeeded()
throws IOException
IOException
public IMAPResponse readResponse()
throws MessagingException
MessagingException
public byte[] readData()
throws MessagingException
MessagingException
public void readBuffer()
throws MessagingException
MessagingException
IOException
public void checkLiteral()
throws MessagingException
MessagingException
protected int nextByte()
throws MessagingException
MessagingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||