2010-12-08 Tobias Burnus <burnus@net-b.de>
[official-gcc.git] / libjava / java / io / CharArrayWriter.h
blobee3f559a490048a72329556e35e018e6f883f356
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_io_CharArrayWriter__
5 #define __java_io_CharArrayWriter__
7 #pragma interface
9 #include <java/io/Writer.h>
10 #include <gcj/array.h>
13 class java::io::CharArrayWriter : public ::java::io::Writer
16 public:
17 CharArrayWriter();
18 CharArrayWriter(jint);
19 virtual void close();
20 virtual void flush();
21 virtual void reset();
22 virtual jint size();
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);
32 private:
33 void resize(jint);
34 public:
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);
41 private:
42 static const jint DEFAULT_INITIAL_BUFFER_SIZE = 32;
43 public: // actually protected
44 JArray< jchar > * __attribute__((aligned(__alignof__( ::java::io::Writer)))) buf;
45 jint count;
46 public:
47 static ::java::lang::Class class$;
50 #endif // __java_io_CharArrayWriter__