Writer.h

Go to the documentation of this file.
00001 #ifndef JAVA_IO_WRITER_H
00002 #define JAVA_IO_WRITER_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 
00021     class JAVA_IO_SPEC Writer : virtual public Interface {
00022 
00023     public:
00024 
00036       virtual void write(jint c) = 0;
00037 
00047       virtual void write(const Array<jchar>& b, jint off = 0, jint len = -1) = 0;
00048 
00058       virtual void write(const String& str, jint off = 0, jint len = -1) = 0;
00059 
00069       virtual void flush();
00070 
00078       virtual void close();
00079 
00080     private:
00081   
00082       REGISTER_MEMBERS;
00083     
00084     };
00085 
00086   } // namespace io
00087 } // namespace java
00088 
00089 #endif /* JAVA_IO_WRITER_H */

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