All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.devtools.SIPNoTE.ModDataInputStream

java.lang.Object
   |
   +----java.io.InputStream
           |
           +----java.io.FilterInputStream
                   |
                   +----java.io.DataInputStream
                           |
                           +----com.ibm.devtools.SIPNoTE.ModDataInputStream

public class ModDataInputStream
extends DataInputStream
This class is an extension of DataInputStream, because the readline method is deprecated within DataInputStream, but our usage will not experience any of the cases for which the original was deprecated.

This does not check for a CRLF, but instead only a LF.


Constructor Index

 o ModDataInputStream(InputStream)
Creates a new ModDataInputStream.

Method Index

 o readLinelf()
Read a line from the stream, where the end of the line is delimited by a linefeed (\n).

Constructors

 o ModDataInputStream
 public ModDataInputStream(InputStream in)
Creates a new ModDataInputStream.

Parameters:
in - The InputStream from which to read data.

Methods

 o readLinelf
 public String readLinelf() throws IOException
Read a line from the stream, where the end of the line is delimited by a linefeed (\n).

Returns:
The line which was read.

All Packages  Class Hierarchy  This Package  Previous  Next  Index