1 28 29 package com.caucho.vfs; 30 31 import java.io.IOException ; 32 import java.io.Writer ; 33 34 49 public class ByteToCharWriter extends AbstractByteToChar { 50 private Writer _writer; 51 52 55 ByteToCharWriter() 56 { 57 } 58 59 62 public void setWriter(Writer writer) 63 { 64 _writer = writer; 65 } 66 67 protected void outputChar(int ch) 68 throws IOException  69 { 70 _writer.write(ch); 71 } 72 } 73 | Popular Tags |