| javax.servlet.ServletOutputStream org.directwebremoting.util.WriterOutputStream
WriterOutputStream | final public class WriterOutputStream extends ServletOutputStream (Code) | | This is not the evil hack you are looking for.
author: Joe Walker [joe at getahead dot ltd dot uk] |
Method Summary | |
public void | close() | public void | flush() | public void | print(String s) | public void | write(byte[] ba) | public void | write(byte[] ba, int off, int len) | public synchronized void | write(int bite) |
WriterOutputStream | public WriterOutputStream(Writer writer)(Code) | | ctor using platform default encoding
Parameters: writer - The stream that we proxy to |
WriterOutputStream | public WriterOutputStream(Writer writer, String encoding)(Code) | | ctor that allows us to specify how strings are created
Parameters: writer - The stream that we proxy to Parameters: encoding - The string encoding of data that we write to the stream |
|
|