DataInputStream.h

Go to the documentation of this file.
00001 #ifndef JAVA_IO_DATAINPUTSTREAM_H
00002 #define JAVA_IO_DATAINPUTSTREAM_H 1
00003 
00004 #ifndef JAVA_IO_FILTERINPUTSTREAM_H
00005 #include <java_io/FilterInputStream.h>
00006 #endif /* JAVA_IO_FILTERINPUTSTREAM_H */
00007 #ifndef JAVA_IO_DATAINPUT_H
00008 #include <java_io/DataInput.h>
00009 #endif /* JAVA_IO_DATAINPUT_H */
00010 
00011 namespace java {
00012   namespace io {
00013 
00062     class JAVA_IO_SPEC DataInputStream : public FilterInputStream, virtual public DataInput {
00063 
00064     public:
00065   
00073         DataInputStream(const Ref<InputStream>& in = 0);
00074 
00089         jint read();
00090 
00107         jint read(Array<jbyte>& b, jint ofs = 0, jint len = -1);
00108 
00127         jlong skip(jlong n);
00128 
00129     private:
00130   
00131         REGISTER_MEMBERS;
00132     
00133       };
00134 
00135   } // namespace io
00136 } // namespace java
00137 
00138 #endif /* JAVA_IO_DATAINPUTSTREAM_H */

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