All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.comm.InputStreamLineReader

java.lang.Object
   |
   +----semper.comm.InputStreamLineReader

public class InputStreamLineReader
extends Object
A helper class providing a readLine method for InputStream, similar to that of DataInputStream in JDK 1.0

Version:
beta-4, 16.4.97
Author:
Mehdi Nassehi

Constructor Index

 o InputStreamLineReader()

Method Index

 o readLine(InputStream)
Reads the next line of text from this data input stream.

Constructors

 o InputStreamLineReader
 public InputStreamLineReader()

Methods

 o readLine
 public static String readLine(InputStream inStream) throws IOException
Reads the next line of text from this data input stream. This method successively reads bytes from the underlying input stream until it reaches the end of a line of text. A line of text is terminated by a newline character ('\n'), or the end of the input stream. The line-terminating character(s), if any, are not returned as part of the string that is returned.

Parameters:
inStream - the input stream

All Packages  Class Hierarchy  This Package  Previous  Next  Index