2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_io_OutputStreamWriter__
5 #define __java_io_OutputStreamWriter__
9 #include <java/io/Writer.h>
10 #include <gcj/array.h>
37 class java::io::OutputStreamWriter
: public ::java::io::Writer
40 OutputStreamWriter(::java::io::OutputStream
*, ::gnu::gcj::convert::UnicodeToBytes
*);
42 OutputStreamWriter(::java::io::OutputStream
*, ::java::lang::String
*);
43 OutputStreamWriter(::java::io::OutputStream
*);
44 OutputStreamWriter(::java::io::OutputStream
*, ::java::nio::charset::Charset
*);
45 OutputStreamWriter(::java::io::OutputStream
*, ::java::nio::charset::CharsetEncoder
*);
47 virtual ::java::lang::String
* getEncoding();
49 virtual void write(JArray
< jchar
> *, jint
, jint
);
51 void writeChars(JArray
< jchar
> *, jint
, jint
);
53 virtual void write(::java::lang::String
*, jint
, jint
);
54 virtual void write(jint
);
55 public: // actually package-private
56 ::java::io::BufferedOutputStream
* __attribute__((aligned(__alignof__( ::java::io::Writer
)))) out
;
57 ::gnu::gcj::convert::UnicodeToBytes
* converter
;
59 JArray
< jchar
> * work
;
62 static ::java::lang::Class
class$
;
65 #endif // __java_io_OutputStreamWriter__