org.mmbase.util.transformers
Class CopyCharTransformer

java.lang.Object
  extended byorg.mmbase.util.transformers.ReaderTransformer
      extended byorg.mmbase.util.transformers.CopyCharTransformer
All Implemented Interfaces:
CharTransformer, Transformer

public class CopyCharTransformer
extends ReaderTransformer
implements CharTransformer

This is the character transformer which does not actually transform anything, it just copies the reader to the writer.

Since:
MMBase-1.7
Version:
$Id: CopyCharTransformer.java,v 1.5 2003/05/12 13:10:25 michiel Exp $
Author:
Michiel Meeuwissen

Field Summary
static CopyCharTransformer instance
           
 
Constructor Summary
CopyCharTransformer()
           
 
Method Summary
 java.lang.String toString()
           
 java.io.Writer transform(java.io.Reader r, java.io.Writer w)
           
 java.lang.String transform(java.lang.String s)
           
 java.io.Writer transformBack(java.io.Reader r, java.io.Writer w)
           
 java.lang.String transformBack(java.lang.String s)
           
 
Methods inherited from class org.mmbase.util.transformers.ReaderTransformer
transform, transformBack
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mmbase.util.transformers.CharTransformer
transform, transformBack
 

Field Detail

instance

public static CopyCharTransformer instance
Constructor Detail

CopyCharTransformer

public CopyCharTransformer()
Method Detail

transform

public java.io.Writer transform(java.io.Reader r,
                                java.io.Writer w)
Specified by:
transform in interface CharTransformer
Specified by:
transform in class ReaderTransformer

transformBack

public java.io.Writer transformBack(java.io.Reader r,
                                    java.io.Writer w)
Specified by:
transformBack in interface CharTransformer
Overrides:
transformBack in class ReaderTransformer

transform

public java.lang.String transform(java.lang.String s)
Specified by:
transform in interface CharTransformer
Overrides:
transform in class ReaderTransformer

transformBack

public java.lang.String transformBack(java.lang.String s)
Specified by:
transformBack in interface CharTransformer
Overrides:
transformBack in class ReaderTransformer

toString

public java.lang.String toString()
Specified by:
toString in interface Transformer


MMBase build 1.7.1.20041002