FilterReader.h

Go to the documentation of this file.
00001 #ifndef JAVA_IO_FILTERREADER_H
00002 #define JAVA_IO_FILTERREADER_H 1
00003 
00004 #ifndef JAVA_IO_READER_H
00005 #include <java_io/Reader.h>
00006 #endif /* JAVA_IO_READER_H */
00007 
00008 namespace java {
00009   namespace io {
00010 
00023     class JAVA_IO_SPEC FilterReader : virtual public Object, virtual public Reader {
00024 
00025     public:
00026   
00032       FilterReader(const Ref<Reader>& in = 0);
00033 
00039       virtual jint read();
00040 
00046       virtual jint read(Array<jchar>& b, jint ofs = 0, jint len = -1);
00047 
00053       virtual jlong skip(jlong n);
00054 
00060       virtual jboolean ready();
00061 
00067       virtual void close();
00068 
00074       virtual void mark(jint readlimit = 0);
00075 
00081       virtual void reset();
00082 
00086       virtual jboolean markSupported();
00087 
00088     protected:
00089 
00094       Ref<Reader> in;
00095 
00096     private:
00097   
00098       REGISTER_MEMBERS;
00099     
00100     };
00101 
00102   } // namespace io
00103 } // namespace java
00104 
00105 #endif /* JAVA_IO_FILTERREADER_H */

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