97b8365caf
From-SVN: r120621
66 lines
1.6 KiB
C++
66 lines
1.6 KiB
C++
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
|
|
|
#ifndef __java_io_OutputStreamWriter__
|
|
#define __java_io_OutputStreamWriter__
|
|
|
|
#pragma interface
|
|
|
|
#include <java/io/Writer.h>
|
|
#include <gcj/array.h>
|
|
|
|
extern "Java"
|
|
{
|
|
namespace gnu
|
|
{
|
|
namespace gcj
|
|
{
|
|
namespace convert
|
|
{
|
|
class UnicodeToBytes;
|
|
}
|
|
}
|
|
}
|
|
namespace java
|
|
{
|
|
namespace nio
|
|
{
|
|
namespace charset
|
|
{
|
|
class Charset;
|
|
class CharsetEncoder;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
class java::io::OutputStreamWriter : public ::java::io::Writer
|
|
{
|
|
|
|
OutputStreamWriter(::java::io::OutputStream *, ::gnu::gcj::convert::UnicodeToBytes *);
|
|
public:
|
|
OutputStreamWriter(::java::io::OutputStream *, ::java::lang::String *);
|
|
OutputStreamWriter(::java::io::OutputStream *);
|
|
OutputStreamWriter(::java::io::OutputStream *, ::java::nio::charset::Charset *);
|
|
OutputStreamWriter(::java::io::OutputStream *, ::java::nio::charset::CharsetEncoder *);
|
|
virtual void close();
|
|
virtual ::java::lang::String * getEncoding();
|
|
virtual void flush();
|
|
virtual void write(JArray< jchar > *, jint, jint);
|
|
private:
|
|
void writeChars(JArray< jchar > *, jint, jint);
|
|
public:
|
|
virtual void write(::java::lang::String *, jint, jint);
|
|
virtual void write(jint);
|
|
public: // actually package-private
|
|
::java::io::BufferedOutputStream * __attribute__((aligned(__alignof__( ::java::io::Writer)))) out;
|
|
::gnu::gcj::convert::UnicodeToBytes * converter;
|
|
private:
|
|
JArray< jchar > * work;
|
|
jint wcount;
|
|
public:
|
|
static ::java::lang::Class class$;
|
|
};
|
|
|
|
#endif // __java_io_OutputStreamWriter__
|