OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / gnu / java / nio / charset / UTF_16Decoder.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __gnu_java_nio_charset_UTF_16Decoder__
5 #define __gnu_java_nio_charset_UTF_16Decoder__
6
7 #pragma interface
8
9 #include <java/nio/charset/CharsetDecoder.h>
10 extern "Java"
11 {
12   namespace gnu
13   {
14     namespace java
15     {
16       namespace nio
17       {
18         namespace charset
19         {
20             class UTF_16Decoder;
21         }
22       }
23     }
24   }
25   namespace java
26   {
27     namespace nio
28     {
29         class ByteBuffer;
30         class CharBuffer;
31       namespace charset
32       {
33           class Charset;
34           class CoderResult;
35       }
36     }
37   }
38 }
39
40 class gnu::java::nio::charset::UTF_16Decoder : public ::java::nio::charset::CharsetDecoder
41 {
42
43 public: // actually package-private
44   UTF_16Decoder(::java::nio::charset::Charset *, jint);
45 public: // actually protected
46   ::java::nio::charset::CoderResult * decodeLoop(::java::nio::ByteBuffer *, ::java::nio::CharBuffer *);
47   void implReset();
48 public: // actually package-private
49   static const jint BIG_ENDIAN = 0;
50   static const jint LITTLE_ENDIAN = 1;
51   static const jint UNKNOWN_ENDIAN = 2;
52   static const jint MAYBE_BIG_ENDIAN = 3;
53   static const jint MAYBE_LITTLE_ENDIAN = 4;
54 private:
55   static const jchar BYTE_ORDER_MARK = 65279;
56   static const jchar REVERSED_BYTE_ORDER_MARK = 65534;
57   jint __attribute__((aligned(__alignof__( ::java::nio::charset::CharsetDecoder)))) originalByteOrder;
58   jint byteOrder;
59 public:
60   static ::java::lang::Class class$;
61 };
62
63 #endif // __gnu_java_nio_charset_UTF_16Decoder__