BufferedWriter.h

Go to the documentation of this file.
00001 #ifndef JAVA_IO_BUFFEREDWRITER_H
00002 #define JAVA_IO_BUFFEREDWRITER_H 1
00003 
00004 #ifndef JAVA_IO_WRITER_H
00005 #include <java_io/Writer.h>
00006 #endif /* JAVA_IO_WRITER_H */
00007 
00008 namespace java {
00009   namespace io {
00010 
00043     class JAVA_IO_SPEC BufferedWriter : virtual public Object, virtual public Writer {
00044 
00045     public:
00046   
00056       BufferedWriter(const Ref<Writer>& out = 0, jint size = 8192);
00057 
00063       virtual void write(jint b);
00064 
00081       virtual void write(const Array<jchar>& b, jint off = 0, jint len = -1);
00082 
00092       virtual void write(const String& str, jint off = 0, jint len = -1);
00093 
00101       virtual void newLine();
00102 
00108       virtual void flush();
00109 
00115       virtual void close();
00116 
00117     private:
00118   
00119       ObjectRef impl;
00120       REGISTER_MEMBERS;
00121     
00122     };
00123 
00124   } // namespace io
00125 } // namespace java
00126 
00127 #endif /* JAVA_IO_BUFFEREDWRITER_H */

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