summaryrefslogtreecommitdiff
path: root/libjava/gnu/xml/dom/ls/ReaderInputStream.h
blob: 7fa7d937614bba4b97f5f33617ba8add3f810da1 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_xml_dom_ls_ReaderInputStream__
#define __gnu_xml_dom_ls_ReaderInputStream__

#pragma interface

#include <java/io/InputStream.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace xml
    {
      namespace dom
      {
        namespace ls
        {
            class ReaderInputStream;
        }
      }
    }
  }
}

class gnu::xml::dom::ls::ReaderInputStream : public ::java::io::InputStream
{

public:
  ReaderInputStream(::java::io::Reader *);
public: // actually package-private
  virtual void setEncoding(::java::lang::String *);
public:
  virtual jint read();
  virtual jint read(JArray< jbyte > *);
  virtual jint read(JArray< jbyte > *, jint, jint);
  virtual void close();
  virtual jboolean markSupported();
  virtual void mark(jint);
  virtual void reset();
  virtual jlong skip(jlong);
  virtual jint available();
  virtual ::java::lang::String * toString();
private:
  ::java::io::Reader * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) reader;
  ::java::lang::String * encoding;
  JArray< jbyte > * extra;
  jint pos;
  JArray< jbyte > * extra_marked;
  jint pos_marked;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_xml_dom_ls_ReaderInputStream__