org.tp23.jasper.runtime
Class ObjectStringOutputStream
java.lang.Object
|
+--java.io.OutputStream
|
+--org.tp23.jasper.runtime.ObjectStringOutputStream
- public class ObjectStringOutputStream
- extends java.io.OutputStream
This is an OutputStream implementaion that writes to an existing StringWriter
It is a simple wrapper so that the destination method can return an
Output stream when it contains a writer.
- Author:
- Paul Hinds
Method Summary |
void |
close()
|
void |
flush()
|
void |
write(byte[] parm1)
|
void |
write(byte[] bytes,
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 |
ObjectStringOutputStream
public ObjectStringOutputStream(java.io.StringWriter writer)
write
public void write(int b)
throws java.io.IOException
- Overrides:
write
in class java.io.OutputStream
write
public void write(byte[] parm1)
throws java.io.IOException
- Overrides:
write
in class java.io.OutputStream
flush
public void flush()
throws java.io.IOException
- Overrides:
flush
in class java.io.OutputStream
write
public void write(byte[] bytes,
int off,
int len)
throws java.io.IOException
- Overrides:
write
in class java.io.OutputStream
close
public void close()
throws java.io.IOException
- Overrides:
close
in class java.io.OutputStream