summaryrefslogtreecommitdiff
path: root/libjava/gnu/gcj/convert/BytesToCharsetAdaptor.h
blob: f9d4a8830e87417e41aabd8e07da19651ec21dbe (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_gcj_convert_BytesToCharsetAdaptor__
#define __gnu_gcj_convert_BytesToCharsetAdaptor__

#pragma interface

#include <gnu/gcj/convert/BytesToUnicode.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace gcj
    {
      namespace convert
      {
          class BytesToCharsetAdaptor;
      }
    }
  }
  namespace java
  {
    namespace nio
    {
        class ByteBuffer;
      namespace charset
      {
          class Charset;
          class CharsetDecoder;
      }
    }
  }
}

class gnu::gcj::convert::BytesToCharsetAdaptor : public ::gnu::gcj::convert::BytesToUnicode
{

public:
  BytesToCharsetAdaptor(::java::nio::charset::Charset *);
  BytesToCharsetAdaptor(::java::nio::charset::CharsetDecoder *);
  virtual ::java::lang::String * getName();
  virtual jint read(JArray< jchar > *, jint, jint);
  virtual void done();
private:
  ::java::nio::charset::CharsetDecoder * __attribute__((aligned(__alignof__( ::gnu::gcj::convert::BytesToUnicode)))) decoder;
  ::java::nio::ByteBuffer * inBuf;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_gcj_convert_BytesToCharsetAdaptor__