summaryrefslogtreecommitdiff
path: root/libjava/java/io/OutputStreamWriter.h
blob: 8ad6c8e690a83ce7802a208e2fee95758320ce09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// 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__