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

#ifndef __java_io_PushbackReader__
#define __java_io_PushbackReader__

#pragma interface

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


class java::io::PushbackReader : public ::java::io::FilterReader
{

public:
  PushbackReader(::java::io::Reader *);
  PushbackReader(::java::io::Reader *, jint);
  virtual void close();
  virtual void mark(jint);
  virtual jboolean markSupported();
  virtual void reset();
  virtual jboolean ready();
  virtual jlong skip(jlong);
  virtual jint read();
  virtual jint read(JArray< jchar > *, jint, jint);
  virtual void unread(jint);
  virtual void unread(JArray< jchar > *);
  virtual void unread(JArray< jchar > *, jint, jint);
private:
  static const jint DEFAULT_BUFFER_SIZE = 1;
  JArray< jchar > * __attribute__((aligned(__alignof__( ::java::io::FilterReader)))) buf;
  jint pos;
public:
  static ::java::lang::Class class$;
};

#endif // __java_io_PushbackReader__