gcc/libjava/java/io/BufferedReader.h
Tom Tromey 97b8365caf Merged gcj-eclipse branch to trunk.
From-SVN: r120621
2007-01-09 19:58:05 +00:00

50 lines
1.1 KiB
C++

// 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;
private:
::java::lang::StringBuffer * sbuf;
public:
static ::java::lang::Class class$;
};
#endif // __java_io_BufferedReader__