class WriterOutputStream extends OutputStream {

    @Override
    public void flush() throws IOException {
        flushOutput();
        writer.flush();
    }

    public  WriterOutputStream(final Writer writer, final CharsetDecoder decoder);
    public  WriterOutputStream(final Writer writer, final CharsetDecoder decoder, final int bufferSize,
                              final boolean writeImmediately);
    public  WriterOutputStream(final Writer writer, final Charset charset, final int bufferSize,
                              final boolean writeImmediately);
    public  WriterOutputStream(final Writer writer, final Charset charset);
    public  WriterOutputStream(final Writer writer, final String charsetName, final int bufferSize,
                              final boolean writeImmediately);
    public  WriterOutputStream(final Writer writer, final String charsetName);
    @Deprecated public  WriterOutputStream(final Writer writer);

}