com.timeindexing.servlet
Class SelectServlet.WriterOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended bycom.timeindexing.servlet.SelectServlet.WriterOutputStream
Enclosing class:
SelectServlet

public class SelectServlet.WriterOutputStream
extends java.io.OutputStream

Wrap a Writer as an Output Stream.


Constructor Summary
SelectServlet.WriterOutputStream(java.io.Writer writer)
           
 
Method Summary
 void close()
           
 void flush()
           
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectServlet.WriterOutputStream

public SelectServlet.WriterOutputStream(java.io.Writer writer)
Method Detail

write

public void write(int b)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(byte[] b)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

flush

public void flush()
           throws java.io.IOException
Throws:
java.io.IOException