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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [java/] [nio/] [ChannelReader.h] - Blame information for rev 776

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

Line No. Rev Author Line
1 756 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __gnu_java_nio_ChannelReader__
5
#define __gnu_java_nio_ChannelReader__
6
 
7
#pragma interface
8
 
9
#include <java/io/Reader.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace gnu
15
  {
16
    namespace java
17
    {
18
      namespace nio
19
      {
20
          class ChannelReader;
21
      }
22
    }
23
  }
24
  namespace java
25
  {
26
    namespace nio
27
    {
28
        class ByteBuffer;
29
        class CharBuffer;
30
      namespace channels
31
      {
32
          class ReadableByteChannel;
33
      }
34
      namespace charset
35
      {
36
          class CharsetDecoder;
37
      }
38
    }
39
  }
40
}
41
 
42
class gnu::java::nio::ChannelReader : public ::java::io::Reader
43
{
44
 
45
public:
46
  ChannelReader(::java::nio::channels::ReadableByteChannel *, ::java::nio::charset::CharsetDecoder *, jint);
47
  virtual jint read(JArray< jchar > *, jint, jint);
48
  virtual void close();
49
private:
50
  static const jint DEFAULT_BUFFER_CAP = 8192;
51
  ::java::nio::channels::ReadableByteChannel * __attribute__((aligned(__alignof__( ::java::io::Reader)))) channel;
52
  ::java::nio::charset::CharsetDecoder * decoder;
53
  ::java::nio::ByteBuffer * byteBuffer;
54
  ::java::nio::CharBuffer * charBuffer;
55
public:
56
  static ::java::lang::Class class$;
57
};
58
 
59
#endif // __gnu_java_nio_ChannelReader__

powered by: WebSVN 2.1.0

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