01: package biz.hammurapi.web.mda;
02:
03: import java.io.StringWriter;
04: import java.io.Writer;
05:
06: /**
07: * Channel which uses StringWriter.
08: * @author Pavel
09: *
10: */
11: public class MemoryChannelBase extends AbstractChannel {
12:
13: protected SubChannel createSubChannel() {
14: return new MemorySubChannel();
15: }
16:
17: protected Writer createWriter() {
18: return new StringWriter();
19: }
20:
21: }
|