1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_io_PrintStream__
|
5 |
|
|
#define __java_io_PrintStream__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/io/FilterOutputStream.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace gnu
|
15 |
|
|
{
|
16 |
|
|
namespace gcj
|
17 |
|
|
{
|
18 |
|
|
namespace convert
|
19 |
|
|
{
|
20 |
|
|
class UnicodeToBytes;
|
21 |
|
|
}
|
22 |
|
|
}
|
23 |
|
|
}
|
24 |
|
|
}
|
25 |
|
|
|
26 |
|
|
class java::io::PrintStream : public ::java::io::FilterOutputStream
|
27 |
|
|
{
|
28 |
|
|
|
29 |
|
|
public:
|
30 |
|
|
PrintStream(::java::io::OutputStream *);
|
31 |
|
|
PrintStream(::java::io::OutputStream *, jboolean);
|
32 |
|
|
PrintStream(::java::io::File *);
|
33 |
|
|
PrintStream(::java::io::File *, ::java::lang::String *);
|
34 |
|
|
PrintStream(::java::lang::String *);
|
35 |
|
|
PrintStream(::java::lang::String *, ::java::lang::String *);
|
36 |
|
|
PrintStream(::java::io::OutputStream *, jboolean, ::java::lang::String *);
|
37 |
|
|
virtual jboolean checkError();
|
38 |
|
|
public: // actually protected
|
39 |
|
|
virtual void setError();
|
40 |
|
|
public:
|
41 |
|
|
virtual void close();
|
42 |
|
|
virtual void flush();
|
43 |
|
|
private:
|
44 |
|
|
void print(::java::lang::String *, jboolean);
|
45 |
|
|
void print(JArray< jchar > *, jint, jint, jboolean);
|
46 |
|
|
void writeChars(JArray< jchar > *, jint, jint);
|
47 |
|
|
void writeChars(::java::lang::String *, jint, jint);
|
48 |
|
|
public:
|
49 |
|
|
virtual void print(jboolean);
|
50 |
|
|
virtual void print(jint);
|
51 |
|
|
virtual void print(jlong);
|
52 |
|
|
virtual void print(jfloat);
|
53 |
|
|
virtual void print(jdouble);
|
54 |
|
|
virtual void print(::java::lang::Object *);
|
55 |
|
|
virtual void print(::java::lang::String *);
|
56 |
|
|
virtual void print(jchar);
|
57 |
|
|
virtual void print(JArray< jchar > *);
|
58 |
|
|
virtual void println();
|
59 |
|
|
virtual void println(jboolean);
|
60 |
|
|
virtual void println(jint);
|
61 |
|
|
virtual void println(jlong);
|
62 |
|
|
virtual void println(jfloat);
|
63 |
|
|
virtual void println(jdouble);
|
64 |
|
|
virtual void println(::java::lang::Object *);
|
65 |
|
|
virtual void println(::java::lang::String *);
|
66 |
|
|
virtual void println(jchar);
|
67 |
|
|
virtual void println(JArray< jchar > *);
|
68 |
|
|
virtual void write(jint);
|
69 |
|
|
virtual void write(JArray< jbyte > *, jint, jint);
|
70 |
|
|
virtual ::java::io::PrintStream * PrintStream$append(jchar);
|
71 |
|
|
virtual ::java::io::PrintStream * PrintStream$append(::java::lang::CharSequence *);
|
72 |
|
|
virtual ::java::io::PrintStream * PrintStream$append(::java::lang::CharSequence *, jint, jint);
|
73 |
|
|
virtual ::java::io::PrintStream * printf(::java::lang::String *, JArray< ::java::lang::Object * > *);
|
74 |
|
|
virtual ::java::io::PrintStream * printf(::java::util::Locale *, ::java::lang::String *, JArray< ::java::lang::Object * > *);
|
75 |
|
|
virtual ::java::io::PrintStream * format(::java::lang::String *, JArray< ::java::lang::Object * > *);
|
76 |
|
|
virtual ::java::io::PrintStream * format(::java::util::Locale *, ::java::lang::String *, JArray< ::java::lang::Object * > *);
|
77 |
|
|
virtual ::java::lang::Appendable * append(::java::lang::CharSequence *, jint, jint);
|
78 |
|
|
virtual ::java::lang::Appendable * append(::java::lang::CharSequence *);
|
79 |
|
|
virtual ::java::lang::Appendable * append(jchar);
|
80 |
|
|
private:
|
81 |
|
|
static JArray< jchar > * line_separator;
|
82 |
|
|
public: // actually package-private
|
83 |
|
|
::gnu::gcj::convert::UnicodeToBytes * __attribute__((aligned(__alignof__( ::java::io::FilterOutputStream)))) converter;
|
84 |
|
|
JArray< jchar > * work;
|
85 |
|
|
JArray< jbyte > * work_bytes;
|
86 |
|
|
private:
|
87 |
|
|
jboolean error_occurred;
|
88 |
|
|
jboolean auto_flush;
|
89 |
|
|
public:
|
90 |
|
|
static ::java::lang::Class class$;
|
91 |
|
|
};
|
92 |
|
|
|
93 |
|
|
#endif // __java_io_PrintStream__
|