public class Outer extends Object implements Closeable
Modifier and Type | Field and Description |
---|---|
protected Charset |
charset |
protected OutputStream |
os |
protected Writer |
w |
Constructor and Description |
---|
Outer(OutputStream os) |
Outer(OutputStream os,
String charset) |
Outer(Writer w) |
protected final Writer w
protected final OutputStream os
protected final Charset charset
public Outer(Writer w)
public Outer(OutputStream os)
public Outer(OutputStream os, String charset)
public Outer write(char c) throws IOException
IOException
public Outer write(Object o) throws IOException
IOException
public Outer write(String s) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException