InputStream.h

Go to the documentation of this file.
00001 #ifndef JAVA_IO_INPUTSTREAM_H
00002 #define JAVA_IO_INPUTSTREAM_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 
00022     class JAVA_IO_SPEC InputStream : virtual public Interface {
00023 
00024     public:
00025 
00040       virtual jint read() = 0;
00041 
00102       virtual jint read(Array<jbyte>& b, jint ofs = 0, jint len = -1) = 0;
00103 
00122       virtual jlong skip(jlong n) = 0;
00123 
00139       virtual jint available();
00140 
00150       virtual void close();
00151 
00175       virtual void mark(jint readlimit = 0);
00176 
00220       virtual void reset();
00221 
00230       virtual jboolean markSupported();
00231 
00232     private:
00233   
00234       REGISTER_MEMBERS;
00235     
00236     };
00237 
00238   } // namespace io
00239 } // namespace java
00240 
00241 #endif /* JAVA_IO_INPUTSTREAM_H */

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