blob: 4115ef4907d0495db7aadae441c2b1cf85ac10fa (
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
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_gcj_convert_CharsetToBytesAdaptor__
#define __gnu_gcj_convert_CharsetToBytesAdaptor__
#pragma interface
#include <gnu/gcj/convert/UnicodeToBytes.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
namespace convert
{
class CharsetToBytesAdaptor;
}
}
}
namespace java
{
namespace nio
{
class ByteBuffer;
class CharBuffer;
namespace charset
{
class Charset;
class CharsetEncoder;
}
}
}
}
class gnu::gcj::convert::CharsetToBytesAdaptor : public ::gnu::gcj::convert::UnicodeToBytes
{
public:
CharsetToBytesAdaptor(::java::nio::charset::Charset *);
CharsetToBytesAdaptor(::java::nio::charset::CharsetEncoder *);
virtual ::java::lang::String * getName();
virtual jint write(JArray< jchar > *, jint, jint);
virtual jint write(::java::lang::String *, jint, jint, jchar);
private:
void write(::java::nio::CharBuffer *);
public:
virtual jboolean havePendingBytes();
virtual void setFinished();
virtual void done();
private:
::java::nio::charset::CharsetEncoder * __attribute__((aligned(__alignof__( ::gnu::gcj::convert::UnicodeToBytes)))) encoder;
::java::nio::ByteBuffer * outBuf;
jboolean closedEncoder;
jboolean hasBytes;
jboolean finished;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_gcj_convert_CharsetToBytesAdaptor__
|