BufferedReader.h

Go to the documentation of this file.
00001 #ifndef JAVA_IO_BUFFEREDREADER_H
00002 #define JAVA_IO_BUFFEREDREADER_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 
00041     class JAVA_IO_SPEC BufferedReader : virtual public Object, virtual public Reader {
00042 
00043     public:
00044   
00054       BufferedReader(const Ref<Reader>& in = 0, jint size = 8192);
00055 
00064       virtual jint read();
00065 
00111       virtual jint read(Array<jchar>& b, jint off = 0, jint len = -1);
00112 
00128       virtual Ref<String> readLine(jboolean ignoreLF = false);
00129 
00140       virtual jlong skip(jlong n);
00141 
00149       virtual jboolean ready();
00150 
00156       virtual void close();
00157 
00174       virtual void mark(jint readlimit = 0);
00175 
00182       virtual void reset();
00183 
00187       virtual jboolean markSupported();
00188 
00189     private:
00190 
00191       ObjectRef impl;
00192       REGISTER_MEMBERS;
00193     
00194     };
00195 
00196   } // namespace io
00197 } // namespace java
00198 
00199 #endif /* JAVA_IO_BUFFEREDREADER_H */

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