01: package org.enhydra.util.chiba;
02:
03: import java.io.IOException;
04: import java.io.InputStream;
05:
06: import javax.servlet.ServletInputStream;
07:
08: public class ChibaPresentationInputStream extends ServletInputStream {
09:
10: private InputStream is = null;
11:
12: public ChibaPresentationInputStream(InputStream inputStream) {
13: this .is = inputStream;
14: }
15:
16: public int readLine(byte[] b, int off, int len) throws IOException {
17: return is.read(b, off, len);
18: }
19:
20: public int read() throws IOException {
21: return is.read();
22: }
23:
24: }
|