com.sun.xml.messaging.saaj.packaging.mime.util
Class OutputUtil
java.lang.Object
com.sun.xml.messaging.saaj.packaging.mime.util.OutputUtil
public abstract class OutputUtil
- extends Object
This class is to support writing out Strings as a sequence of bytes
terminated by a CRLF sequence. The String must contain only US-ASCII
characters.
The expected use is to write out RFC822 style headers to an output
stream.
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutputUtil
public OutputUtil()
writeln
public static void writeln(String s,
OutputStream out)
throws IOException
- Throws:
IOException
writeAsAscii
public static void writeAsAscii(String s,
OutputStream out)
throws IOException
- Writes a string as ASCII string.
- Throws:
IOException
writeln
public static void writeln(OutputStream out)
throws IOException
- Throws:
IOException
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.