public class XDataOutputStream extends DataOutputStream
DataOutputStream
that
implements a putLine()
method to complement the
getLine()
method in XDataInputStream
.DataInputStream
,
XDataInputStream
written
out
Constructor and Description |
---|
XDataOutputStream(OutputStream out)
Construct a new
XDataOutputStream . |
Modifier and Type | Method and Description |
---|---|
void |
putLine(String s)
Write a string and a CR+LF pair to the stream, and flush
the stream.
|
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
close, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
write
public XDataOutputStream(OutputStream out)
XDataOutputStream
.out
- The OutputStream
to wrap.public void putLine(String s) throws IOException
s
- The string to write.IOException
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses