OutputStream.h

Go to the documentation of this file.
00001 #ifndef JAVA_IO_OUTPUTSTREAM_H
00002 #define JAVA_IO_OUTPUTSTREAM_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 
00024     class JAVA_IO_SPEC OutputStream : virtual public Interface {
00025 
00026     public:
00027 
00043       virtual void write(jint b) = 0;
00044 
00073       virtual void write(const Array<jbyte>& b, jint ofs = 0, jint len = -1) = 0;
00074 
00087       virtual void flush();
00088 
00099       virtual void close();
00100 
00101     private:
00102   
00103       REGISTER_MEMBERS;
00104     
00105     };
00106 
00107   } // namespace io
00108 } // namespace java
00109 
00110 #endif /* JAVA_IO_OUTPUTSTREAM_H */

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