com.raritantechnologies.HTML
Class ServletOutputStreamStub

java.lang.Object
  extended byServletOutputStream
      extended bycom.raritantechnologies.HTML.ServletOutputStreamStub

public class ServletOutputStreamStub
extends ServletOutputStream

Wraps an java.io.OutputStream - as a ServletOutputStream. Allows ServletOutputStream to be redirected.


Developed by Raritan Technologies Inc..

Author:
Ted Sullivan
See Also:
Serialized Form

Constructor Summary
ServletOutputStreamStub(java.io.OutputStream theOS)
           
 
Method Summary
 void close()
           
 void flush()
           
 void print(boolean b)
           
 void print(char c)
           
 void print(double d)
           
 void print(float f)
           
 void print(int i)
           
 void print(long l)
           
 void println()
           
 void println(boolean b)
           
 void println(char c)
           
 void println(double d)
           
 void println(float f)
           
 void println(int i)
           
 void println(long l)
           
 void println(java.lang.String s)
           
 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

ServletOutputStreamStub

public ServletOutputStreamStub(java.io.OutputStream theOS)
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

flush

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

close

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

print

public void print(boolean b)
           throws java.io.IOException
Throws:
java.io.IOException

print

public void print(char c)
           throws java.io.IOException
Throws:
java.io.IOException

print

public void print(int i)
           throws java.io.IOException
Throws:
java.io.IOException

print

public void print(long l)
           throws java.io.IOException
Throws:
java.io.IOException

print

public void print(float f)
           throws java.io.IOException
Throws:
java.io.IOException

print

public void print(double d)
           throws java.io.IOException
Throws:
java.io.IOException

println

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

println

public void println(java.lang.String s)
             throws java.io.IOException
Throws:
java.io.IOException

println

public void println(boolean b)
             throws java.io.IOException
Throws:
java.io.IOException

println

public void println(char c)
             throws java.io.IOException
Throws:
java.io.IOException

println

public void println(int i)
             throws java.io.IOException
Throws:
java.io.IOException

println

public void println(long l)
             throws java.io.IOException
Throws:
java.io.IOException

println

public void println(float f)
             throws java.io.IOException
Throws:
java.io.IOException

println

public void println(double d)
             throws java.io.IOException
Throws:
java.io.IOException