All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Acme.Serve.servlet.ServletInputStream

java.lang.Object
   |
   +----java.io.InputStream
           |
           +----Acme.Serve.servlet.ServletInputStream

public abstract class ServletInputStream
extends InputStream
Special InputStream used by servlets.

All this does is add a readLine method to InputStream.

This is taken from JavaSoft's Servlet API documentation.

Fetch the software.
Fetch the entire Acme package.


Constructor Index

 o ServletInputStream()

Method Index

 o readLine(byte[], int, int)
Reads bytes into the specified byte array until the array is filled or a newline character is read.

Constructors

 o ServletInputStream
 public ServletInputStream()

Methods

 o readLine
 public abstract int readLine(byte b[],
                              int off,
                              int len) throws IOException
Reads bytes into the specified byte array until the array is filled or a newline character is read.

Parameters:
b - the buffer where data is stored
off - the start offset of the data
len - the length of the data
Returns:
the actual number of bytes read, or -1 on EOF
Throws: IOException
if an I/O error has occurred

All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs