| java.lang.Object java.io.Writer java.io.PipedWriter org.mmbase.util.transformers.TransformingWriter
TransformingWriter | public class TransformingWriter extends PipedWriter (Code) | | A Filtering Writer based on CharTransformers.
____ _________
/ \/ \
|this - PR --> W |
| PW | T |
\____/ \________/
PR: piped reader, this PW: this writer, T: transformer
This writer can be instantiated with another Writer and a CharTransformer. All writing will be transformed by the given
CharTransformer before arriving at the given Writer.
When ready, this TransformingWriter should be 'closed'. A coding example can be found in this classe's main method.
author: Michiel Meeuwissen since: MMBase-1.7 See Also: ChainedCharTransformer See Also: TransformingReader |
Method Summary | |
public void | close() ALso closes the wrapped Writer. | public static void | main(String[] args) |
|
|