public class LineOutputStream extends FilterOutputStream
The expected use is to write out RFC822 style headers to an output stream.
out| 构造器和说明 |
|---|
LineOutputStream(OutputStream out) |
LineOutputStream(OutputStream out,
boolean allowutf8) |
public LineOutputStream(OutputStream out)
public LineOutputStream(OutputStream out, boolean allowutf8)
out - the OutputStreamallowutf8 - allow UTF-8 characters?public void writeln(String s) throws IOException
IOExceptionpublic void writeln()
throws IOException
IOExceptionCopyright © 2021 Oracle. All rights reserved.