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.
-
ModDataInputStream(InputStream)
- Creates a new ModDataInputStream.
-
readLinelf()
- Read a line from the stream, where the end of the line is delimited
by a linefeed (\n).
ModDataInputStream
public ModDataInputStream(InputStream in)
- Creates a new ModDataInputStream.
- Parameters:
- in - The InputStream from which to read data.
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