1 package org.hibernate.lob; 3 4 import java.io.IOException ; 5 import java.io.InputStream ; 6 import java.io.Reader ; 7 8 12 public class ReaderInputStream extends InputStream { 13 14 private Reader reader; 15 16 public ReaderInputStream(Reader reader) { 17 this.reader = reader; 18 } 19 20 public int read() throws IOException { 21 return reader.read(); 22 } 23 24 } 25 | Popular Tags |