public class LineOutputStream extends FilterOutputStream
The expected use is to write out RFC822 style headers to an output stream.
out
Constructor and Description |
---|
LineOutputStream(OutputStream out) |
LineOutputStream(OutputStream out,
boolean allowutf8) |
Modifier and Type | Method and Description |
---|---|
void |
writeln() |
void |
writeln(String s) |
public LineOutputStream(OutputStream out)
public LineOutputStream(OutputStream out, boolean allowutf8)
out
- the OutputStreamallowutf8
- allow UTF-8 characters?public void writeln(String s) throws IOException
IOException
public void writeln() throws IOException
IOException
Copyright © 2019 JBoss by Red Hat. All rights reserved.