01: /*
02:
03: This software is OSI Certified Open Source Software.
04: OSI Certified is a certification mark of the Open Source Initiative.
05:
06: The license (Mozilla version 1.0) can be read at the MMBase site.
07: See http://www.MMBase.org/license
08:
09: */
10: package org.mmbase.util.transformers;
11:
12: import java.io.*;
13:
14: /**
15: * Interface for transformations.
16: *
17: * @author Michiel Meeuwissen
18: */
19:
20: public interface CharTransformer extends Transformer {
21:
22: Writer transform(Reader r, Writer w);
23:
24: Writer transformBack(Reader r, Writer w);
25:
26: Writer transform(Reader r);
27:
28: Writer transformBack(Reader r);
29:
30: String transform(String r);
31:
32: String transformBack(String r);
33:
34: }
|