Class com.tdac.mail.LineInputStream
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.tdac.mail.LineInputStream

java.lang.Object
   |
   +----java.io.InputStream
           |
           +----java.io.FilterInputStream
                   |
                   +----java.io.BufferedInputStream
                           |
                           +----com.tdac.mail.LineInputStream

public class LineInputStream
extends BufferedInputStream
This class is used to perform 'line' based buffered input from a buffered stream. It implements a non-blocking mechanism for reading data from the stream.
Version:
1.0, 11/11/96
Author:
Timothy D. A. Cox

Constructor Index

 o LineInputStream(InputStream)
Construct a new object from an InputStream

Method Index

 o readLine(boolean)
Read a line of data from the stream upto a CR character.

Constructors

 o LineInputStream
  public LineInputStream(InputStream is)
Construct a new object from an InputStream
Parameters:
is - the InputStream to buffer

Methods

 o readLine
  public String readLine(boolean block) throws IOException
Read a line of data from the stream upto a CR character.
Parameters:
block - - 'true' if the read operation should block

All Packages  Class Hierarchy  This Package  Previous  Next  Index