BufferedOutputStream.h

Go to the documentation of this file.
00001 #ifndef JAVA_IO_BUFFEREDOUTPUTSTREAM_H
00002 #define JAVA_IO_BUFFEREDOUTPUTSTREAM_H 1
00003 
00004 #ifndef JAVA_IO_OUTPUTSTREAM_H
00005 #include <java_io/OutputStream.h>
00006 #endif /* JAVA_IO_OUTPUTSTREAM_H */
00007 
00008 namespace java {
00009   namespace io {
00010 
00028     class JAVA_IO_SPEC BufferedOutputStream : virtual public Object, virtual public OutputStream {
00029 
00030     public:
00031   
00041       BufferedOutputStream(const Ref<OutputStream>& out = 0, jint size = 512);
00042 
00055       virtual void write(jint b);
00056 
00076       virtual void write(const Array<jbyte>& b, jint off = 0, jint len = -1);
00077 
00087       virtual void flush();
00088 
00099       virtual void close();
00100 
00101     private:
00102 
00103       ObjectRef impl;
00104       REGISTER_MEMBERS;
00105     
00106     };
00107 
00108   } // namespace io
00109 } // namespace java
00110 
00111 #endif /* JAVA_IO_BUFFEREDOUTPUTSTREAM_H */

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