public class PopMessageReader
extends java.io.InputStreamReader
Pop.getMessageReader(int)
Constructor and Description |
---|
PopMessageReader(java.io.InputStream input)
Constructs a new PopMessageReader instance.
|
Modifier and Type | Method and Description |
---|---|
int |
read()
Reads a single character from stream skipping leading periods.
|
int |
read(char[] cbuf,
int offset,
int length)
Reads characters into a portion of an array.
|
public PopMessageReader(java.io.InputStream input)
input
- the input stream to read frompublic int read(char[] cbuf, int offset, int length) throws java.io.IOException
read
in class java.io.InputStreamReader
cbuf
- the destination bufferoffset
- the offset at which to start storing characterslength
- the maximum number of characters to readjava.io.IOException
- if an I/O related error occurspublic int read() throws java.io.IOException
read
in class java.io.InputStreamReader
java.io.IOException
- if an I/O related error occursCopyright © JSCAPE LLC. 1999-2021. All Rights Reserved