public interface LineOutputStream
Modifier and Type | Method and Description |
---|---|
void |
write(byte[] content)
Writes
b.length bytes to this output stream. |
void |
writeln()
Writes a new line (CRLF).
|
void |
writeln(java.lang.String s)
Writes the input string and a new line (CRLF).
|
void writeln(java.lang.String s) throws java.io.IOException
s
- the string to write before the new line.java.io.IOException
- if an I/O error occurs.void writeln() throws java.io.IOException
java.io.IOException
- if an I/O error occurs.void write(byte[] content) throws java.io.IOException
b.length
bytes to this output stream.content
- the content to write.java.io.IOException
- if an I/O error occurs.