FilterOutputStream.h

Go to the documentation of this file.
00001 #ifndef JAVA_IO_FILTEROUTPUTSTREAM_H
00002 #define JAVA_IO_FILTEROUTPUTSTREAM_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 FilterOutputStream : virtual public Object, virtual public OutputStream {
00029 
00030     public:
00031   
00041       FilterOutputStream(const Ref<OutputStream>& out = 0);
00042 
00055       virtual void write(jint b);
00056 
00076       virtual void write(const Array<jbyte>& b, jint ofs = 0, jint len = -1);
00077 
00087       virtual void flush();
00088 
00099       virtual void close();
00100 
00101     protected:
00102 
00106       Ref<OutputStream> out;
00107 
00108     private:
00109   
00110       REGISTER_MEMBERS;
00111     
00112     };
00113 
00114   } // namespace io
00115 } // namespace java
00116 
00117 #endif /* JAVA_IO_FILTEROUTPUTSTREAM_H */

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