public class XDataInputStream extends DataInputStream
DataInputStream
that re-implements the deprecated readLine()
method
as getLine()
.DataInputStream
,
XDataOutputStream
Modifier and Type | Field and Description |
---|---|
private char[] |
lineBuffer |
in
Constructor and Description |
---|
XDataInputStream(InputStream in)
Construct a new
XDataInputStream . |
Modifier and Type | Method and Description |
---|---|
String |
getLine()
Read a CR+LF-terminated line from the stream.
|
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
available, close, mark, markSupported, read, reset, skip
private char[] lineBuffer
public XDataInputStream(InputStream in)
XDataInputStream
.in
- The InputStream
to wrap.public final String getLine() throws IOException
IOException
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses