FilterInputStream.h

Go to the documentation of this file.
00001 #ifndef JAVA_IO_FILTERINPUTSTREAM_H
00002 #define JAVA_IO_FILTERINPUTSTREAM_H 1
00003 
00004 #ifndef JAVA_IO_INPUTSTREAM_H
00005 #include <java_io/InputStream.h>
00006 #endif /* JAVA_IO_INPUTSTREAM_H */
00007 
00008 namespace java {
00009   namespace io {
00010 
00029     class JAVA_IO_SPEC FilterInputStream : virtual public Object, virtual public InputStream {
00030 
00031     public:
00032   
00042       FilterInputStream(const Ref<InputStream>& in = 0);
00043 
00060       virtual jint read();
00061 
00078       virtual jint read(Array<jbyte>& b, jint ofs = 0, jint len = -1);
00079 
00094       virtual jlong skip(jlong n);
00095 
00108       virtual jint available();
00109 
00118       virtual void close();
00119 
00134       virtual void mark(jint readlimit = 0);
00135 
00155       virtual void reset();
00156 
00167       virtual jboolean markSupported();
00168 
00169     protected:
00170 
00174       Ref<InputStream> in;
00175 
00176     private:
00177   
00178       REGISTER_MEMBERS;
00179     
00180     };
00181 
00182   } // namespace io
00183 } // namespace java
00184 
00185 #endif /* JAVA_IO_FILTERINPUTSTREAM_H */

Generated on Fri May 16 11:54:43 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3