2010-12-08 Tobias Burnus <burnus@net-b.de>
[official-gcc.git] / libjava / java / io / Reader.h
blob678bc918144601de13fe1e2fd7cefd1ba2d173d1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_io_Reader__
5 #define __java_io_Reader__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace java
16 namespace nio
18 class CharBuffer;
23 class java::io::Reader : public ::java::lang::Object
26 public: // actually protected
27 Reader();
28 Reader(::java::lang::Object *);
29 public:
30 virtual jint read(JArray< jchar > *, jint, jint) = 0;
31 virtual jint read(JArray< jchar > *);
32 virtual jint read();
33 virtual jint read(::java::nio::CharBuffer *);
34 virtual void close() = 0;
35 virtual jboolean markSupported();
36 virtual void mark(jint);
37 virtual void reset();
38 virtual jboolean ready();
39 virtual jlong skip(jlong);
40 public: // actually protected
41 ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) lock;
42 public:
43 static ::java::lang::Class class$;
46 #endif // __java_io_Reader__