2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_io_PrintWriter__
5 #define __java_io_PrintWriter__
9 #include <java/io/Writer.h>
10 #include <gcj/array.h>
13 class java::io::PrintWriter
: public ::java::io::Writer
17 PrintWriter(::java::io::Writer
*);
18 PrintWriter(::java::io::Writer
*, jboolean
);
19 PrintWriter(::java::io::OutputStream
*);
20 PrintWriter(::java::io::OutputStream
*, jboolean
);
21 PrintWriter(::java::lang::String
*);
22 PrintWriter(::java::lang::String
*, ::java::lang::String
*);
23 PrintWriter(::java::io::File
*);
24 PrintWriter(::java::io::File
*, ::java::lang::String
*);
25 public: // actually protected
26 virtual void setError();
28 virtual jboolean
checkError();
31 virtual void print(::java::lang::String
*);
32 virtual void print(jchar
);
33 virtual void print(JArray
< jchar
> *);
34 virtual void print(jboolean
);
35 virtual void print(jint
);
36 virtual void print(jlong
);
37 virtual void print(jfloat
);
38 virtual void print(jdouble
);
39 virtual void print(::java::lang::Object
*);
40 virtual void println();
41 virtual void println(jboolean
);
42 virtual void println(jint
);
43 virtual void println(jlong
);
44 virtual void println(jfloat
);
45 virtual void println(jdouble
);
46 virtual void println(::java::lang::Object
*);
47 virtual void println(::java::lang::String
*);
48 virtual void println(jchar
);
49 virtual void println(JArray
< jchar
> *);
50 virtual void write(jint
);
51 virtual void write(JArray
< jchar
> *, jint
, jint
);
52 virtual void write(::java::lang::String
*, jint
, jint
);
53 virtual void write(JArray
< jchar
> *);
54 virtual void write(::java::lang::String
*);
55 virtual ::java::io::PrintWriter
* PrintWriter$
append(jchar
);
56 virtual ::java::io::PrintWriter
* PrintWriter$
append(::java::lang::CharSequence
*);
57 virtual ::java::io::PrintWriter
* PrintWriter$
append(::java::lang::CharSequence
*, jint
, jint
);
58 virtual ::java::io::PrintWriter
* printf(::java::lang::String
*, JArray
< ::java::lang::Object
* > *);
59 virtual ::java::io::PrintWriter
* printf(::java::util::Locale
*, ::java::lang::String
*, JArray
< ::java::lang::Object
* > *);
60 virtual ::java::io::PrintWriter
* format(::java::lang::String
*, JArray
< ::java::lang::Object
* > *);
61 virtual ::java::io::PrintWriter
* format(::java::util::Locale
*, ::java::lang::String
*, JArray
< ::java::lang::Object
* > *);
62 virtual ::java::lang::Appendable
* append(::java::lang::CharSequence
*, jint
, jint
);
63 virtual ::java::io::Writer
* Writer$
append(::java::lang::CharSequence
*, jint
, jint
);
64 virtual ::java::lang::Appendable
* append(::java::lang::CharSequence
*);
65 virtual ::java::io::Writer
* Writer$
append(::java::lang::CharSequence
*);
66 virtual ::java::lang::Appendable
* append(jchar
);
67 virtual ::java::io::Writer
* Writer$
append(jchar
);
69 jboolean
__attribute__((aligned(__alignof__( ::java::io::Writer
)))) autoflush
;
72 public: // actually protected
73 ::java::io::Writer
* out
;
75 static JArray
< jchar
> * line_separator
;
77 static ::java::lang::Class
class$
;
80 #endif // __java_io_PrintWriter__