org.mortbay.util
Class WriterOutputStream
OutputStream
org.mortbay.util.WriterOutputStream
public class WriterOutputStream
extends OutputStream
Wrap a Writer as an OutputStream.
When all you have is a Writer and only an OutputStream will do.
Try not to use this as it indicates that your design is a dogs
breakfast (JSP made me write it).
$Id: WriterOutputStream.java,v 1.3 2004/05/09 20:33:05 gregwilkins Exp $
_encoding
protected String _encoding
_writer
protected Writer _writer
WriterOutputStream
public WriterOutputStream(Writer writer)
WriterOutputStream
public WriterOutputStream(Writer writer,
String encoding)
close
public void close()
throws IOException
flush
public void flush()
throws IOException
write
public void write(byte[] b)
throws IOException
write
public void write(byte[] b,
int off,
int len)
throws IOException
write
public void write(int b)
throws IOException
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.