summaryrefslogtreecommitdiff
path: root/libjava/java/io/BufferedReader.h
blob: 110477377115c6086a612ff4d8bbb6c4c24d501e (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_io_BufferedReader__
#define __java_io_BufferedReader__

#pragma interface

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


class java::io::BufferedReader : public ::java::io::Reader
{

public:
  BufferedReader(::java::io::Reader *);
  BufferedReader(::java::io::Reader *, jint);
  virtual void close();
  virtual jboolean markSupported();
  virtual void mark(jint);
  virtual void reset();
  virtual jboolean ready();
  virtual jint read(JArray< jchar > *, jint, jint);
private:
  jint fill();
public:
  virtual jint read();
private:
  jint lineEnd(jint);
public:
  virtual ::java::lang::String * readLine();
  virtual jlong skip(jlong);
private:
  void checkStatus();
public: // actually package-private
  ::java::io::Reader * __attribute__((aligned(__alignof__( ::java::io::Reader)))) in;
  JArray< jchar > * buffer;
  jint pos;
  jint limit;
  jint markPos;
  static const jint DEFAULT_BUFFER_SIZE = 8192;
public:
  static ::java::lang::Class class$;
};

#endif // __java_io_BufferedReader__