|
Préférences
Moteurs de recherche
|
|||||||||||||
| JavaTM Platform, Enterprise Edition, v 5.0
javax.servlet
|
||||||||||||||
| Constructor Summary | |
|---|---|
protected |
ServletInputStream()
Does nothing, because this is an abstract class. |
| Method Summary | |
|---|---|
int |
readLine(byte[] b,
int off,
int len)
Reads the input stream, one line at a time. |
| Methods inherited from class java.io.InputStream |
|---|
available, close, mark, markSupported, read, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ServletInputStream()
| Method Detail |
|---|
public int readLine(byte[] b,
int off,
int len)
throws IOException
This method returns -1 if it reaches the end of the input stream before reading the maximum number of bytes.
b - an array of bytes into which data is readoff - an integer specifying the character at which
this method begins readinglen - an integer specifying the maximum number of
bytes to read
IOException - if an input or output exception has occurred