Reader.h

Go to the documentation of this file.
00001 #ifndef JAVA_IO_READER_H
00002 #define JAVA_IO_READER_H 1
00003 
00004 #ifndef JAVA_LANG_OBJECT_H
00005 #include <java_lang/Object.h>
00006 #endif /* JAVA_LANG_OBJECT_H */
00007 
00008 namespace java {
00009   namespace io {
00010 
00021     class JAVA_IO_SPEC Reader : virtual public Interface {
00022 
00023     public:
00024 
00038       virtual jint read() = 0;
00039 
00054       virtual jint read(Array<jchar>& b, jint ofs = 0, jint len = -1) = 0;
00055 
00067       virtual jlong skip(jlong n) = 0;
00068 
00078       virtual jboolean ready();
00079 
00087       virtual void close();
00088 
00102       virtual void mark(jint readlimit = 0);
00103 
00117       virtual void reset();
00118 
00126       virtual jboolean markSupported();
00127 
00128     private:
00129   
00130       REGISTER_MEMBERS;
00131     
00132     };
00133 
00134   } // namespace io
00135 } // namespace java
00136 
00137 #endif /* JAVA_IO_READER_H */

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