CharArrayReader.h

Go to the documentation of this file.
00001 #ifndef JAVA_IO_CHARARRAYREADER_H
00002 #define JAVA_IO_CHARARRAYREADER_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 
00019     class JAVA_IO_SPEC CharArrayReader : virtual public Object, virtual public Reader {
00020 
00021     public:
00022   
00029       CharArrayReader(const Ref<Array<jchar> >& buf = 0, jint ofs = 0, jint len = -1);
00030 
00036       virtual jint read();
00037 
00048       virtual jint read(Array<jchar>& b, jint off = 0, jint len = -1);
00049 
00057       virtual jlong skip(jlong n);
00058 
00065       virtual jboolean ready();
00066 
00070       virtual void close();
00071 
00084       virtual void mark(jint readlimit = 0);
00085 
00092       virtual void reset();
00093 
00097       virtual jboolean markSupported();
00098 
00099     private:
00100 
00101       ObjectRef impl;
00102       REGISTER_MEMBERS;
00103     
00104     };
00105 
00106   } // namespace io
00107 } // namespace java
00108 
00109 #endif /* JAVA_IO_CHARARRAYREADER_H */

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