2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_io_CharArrayWriter__
5 #define __java_io_CharArrayWriter__
9 #include <java/io/Writer.h>
10 #include <gcj/array.h>
13 class java::io::CharArrayWriter
: public ::java::io::Writer
18 CharArrayWriter(jint
);
23 virtual JArray
< jchar
> * toCharArray();
24 virtual ::java::lang::String
* toString();
25 virtual void write(jint
);
26 virtual void write(JArray
< jchar
> *, jint
, jint
);
27 virtual void write(::java::lang::String
*, jint
, jint
);
28 virtual void writeTo(::java::io::Writer
*);
29 virtual ::java::io::CharArrayWriter
* CharArrayWriter$
append(jchar
);
30 virtual ::java::io::CharArrayWriter
* CharArrayWriter$
append(::java::lang::CharSequence
*);
31 virtual ::java::io::CharArrayWriter
* CharArrayWriter$
append(::java::lang::CharSequence
*, jint
, jint
);
35 virtual ::java::lang::Appendable
* append(::java::lang::CharSequence
*, jint
, jint
);
36 virtual ::java::io::Writer
* Writer$
append(::java::lang::CharSequence
*, jint
, jint
);
37 virtual ::java::lang::Appendable
* append(::java::lang::CharSequence
*);
38 virtual ::java::io::Writer
* Writer$
append(::java::lang::CharSequence
*);
39 virtual ::java::lang::Appendable
* append(jchar
);
40 virtual ::java::io::Writer
* Writer$
append(jchar
);
42 static const jint DEFAULT_INITIAL_BUFFER_SIZE
= 32;
43 public: // actually protected
44 JArray
< jchar
> * __attribute__((aligned(__alignof__( ::java::io::Writer
)))) buf
;
47 static ::java::lang::Class
class$
;
50 #endif // __java_io_CharArrayWriter__