OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [nio/] [charset/] [CharsetEncoder.h] - Blame information for rev 781

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_nio_charset_CharsetEncoder__
5
#define __java_nio_charset_CharsetEncoder__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace java
15
  {
16
    namespace nio
17
    {
18
        class ByteBuffer;
19
        class CharBuffer;
20
      namespace charset
21
      {
22
          class Charset;
23
          class CharsetEncoder;
24
          class CoderResult;
25
          class CodingErrorAction;
26
      }
27
    }
28
  }
29
}
30
 
31
class java::nio::charset::CharsetEncoder : public ::java::lang::Object
32
{
33
 
34
public: // actually protected
35
  CharsetEncoder(::java::nio::charset::Charset *, jfloat, jfloat);
36
  CharsetEncoder(::java::nio::charset::Charset *, jfloat, jfloat, JArray< jbyte > *);
37
public:
38
  virtual jfloat averageBytesPerChar();
39
  virtual jboolean canEncode(jchar);
40
  virtual jboolean canEncode(::java::lang::CharSequence *);
41
private:
42
  jboolean canEncode(::java::nio::CharBuffer *);
43
public:
44
  virtual ::java::nio::charset::Charset * charset();
45
  virtual ::java::nio::ByteBuffer * encode(::java::nio::CharBuffer *);
46
  virtual ::java::nio::charset::CoderResult * encode(::java::nio::CharBuffer *, ::java::nio::ByteBuffer *, jboolean);
47
public: // actually protected
48
  virtual ::java::nio::charset::CoderResult * encodeLoop(::java::nio::CharBuffer *, ::java::nio::ByteBuffer *) = 0;
49
public:
50
  virtual ::java::nio::charset::CoderResult * flush(::java::nio::ByteBuffer *);
51
public: // actually protected
52
  virtual ::java::nio::charset::CoderResult * implFlush(::java::nio::ByteBuffer *);
53
  virtual void implOnMalformedInput(::java::nio::charset::CodingErrorAction *);
54
  virtual void implOnUnmappableCharacter(::java::nio::charset::CodingErrorAction *);
55
  virtual void implReplaceWith(JArray< jbyte > *);
56
  virtual void implReset();
57
public:
58
  virtual jboolean isLegalReplacement(JArray< jbyte > *);
59
  virtual ::java::nio::charset::CodingErrorAction * malformedInputAction();
60
  virtual jfloat maxBytesPerChar();
61
  virtual ::java::nio::charset::CharsetEncoder * onMalformedInput(::java::nio::charset::CodingErrorAction *);
62
  virtual ::java::nio::charset::CodingErrorAction * unmappableCharacterAction();
63
  virtual ::java::nio::charset::CharsetEncoder * onUnmappableCharacter(::java::nio::charset::CodingErrorAction *);
64
  virtual JArray< jbyte > * replacement();
65
  virtual ::java::nio::charset::CharsetEncoder * replaceWith(JArray< jbyte > *);
66
  virtual ::java::nio::charset::CharsetEncoder * reset();
67
private:
68
  static const jint STATE_RESET = 0;
69
  static const jint STATE_CODING = 1;
70
  static const jint STATE_END = 2;
71
  static const jint STATE_FLUSHED = 3;
72
  static JArray< jbyte > * DEFAULT_REPLACEMENT;
73
  ::java::nio::charset::Charset * __attribute__((aligned(__alignof__( ::java::lang::Object)))) charset__;
74
  jfloat averageBytesPerChar__;
75
  jfloat maxBytesPerChar__;
76
  JArray< jbyte > * replacement__;
77
  jint state;
78
  ::java::nio::charset::CodingErrorAction * malformedInputAction__;
79
  ::java::nio::charset::CodingErrorAction * unmappableCharacterAction__;
80
public:
81
  static ::java::lang::Class class$;
82
};
83
 
84
#endif // __java_nio_charset_CharsetEncoder__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.