public class DebugTools.DebugStream
extends OutputStream
Constructor and Description |
---|
DebugStream() |
DebugStream(DebugTools.LineWriter wrtr) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the stream.
|
void |
flush()
Flushes the stream.
|
void |
newline()
Guarantees to write a line, even if buffer is empty.
|
void |
write(int b)
Writes the specified byte to this stream.
|
public DebugStream()
public DebugStream(DebugTools.LineWriter wrtr)
public void flush()
flush
in interface Flushable
flush
in class OutputStream
public void newline()
public void close()
close
in interface Closeable
close
in interface java.lang.AutoCloseable
close
in class OutputStream
public void write(int b)
newline
method will be invoked.
Carriage returns are ignored.write
in class OutputStream
b
- The byte to be written