org.mmbase.util
Class Casting.StringSerializableInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.mmbase.util.SerializableInputStream
          extended by org.mmbase.util.Casting.StringSerializableInputStream
All Implemented Interfaces:
Closeable, Serializable, Casting.Unwrappable
Enclosing class:
Casting

static class Casting.StringSerializableInputStream
extends SerializableInputStream
implements Casting.Unwrappable

A SerializableInputStream where the toString represents the (escaped) contents of the stream itself.

Since:
MMBase-1.9.2

Field Summary
(package private)  CharTransformer escaper
           
 
Constructor Summary
Casting.StringSerializableInputStream(SerializableInputStream is, CharTransformer e)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class org.mmbase.util.SerializableInputStream
_readObject, _writeObject, close, equals, finalize, get, getContentType, getFile, getFileName, getName, getSize, hashCode, inputStreamEquals, mark, markSupported, moveTo, read, read, read, reset, setContentType, skip, toByteArray
 
Methods inherited from class java.io.InputStream
available
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

escaper

CharTransformer escaper
Constructor Detail

Casting.StringSerializableInputStream

Casting.StringSerializableInputStream(SerializableInputStream is,
                                      CharTransformer e)
                                throws IOException
Throws:
IOException
Method Detail

toString

public String toString()
Overrides:
toString in class SerializableInputStream


MMBase 2.0-SNAPSHOT - null