public abstract class OutputUtil extends Object
The expected use is to write out RFC822 style headers to an output stream.
Constructor and Description |
---|
OutputUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
writeAsAscii(String s,
OutputStream out)
Writes a string as ASCII string.
|
static void |
writeln(OutputStream out) |
static void |
writeln(String s,
OutputStream out) |
public static void writeln(String s, OutputStream out) throws IOException
IOException
public static void writeAsAscii(String s, OutputStream out) throws IOException
s
- string.out
- output stream.IOException
- if an I/O error occurs.public static void writeln(OutputStream out) throws IOException
IOException
Copyright © 2021 JBoss by Red Hat. All rights reserved.