Daily bump.
[official-gcc.git] / libjava / java / io / PushbackInputStream.h
blob032bfce983aea20095167ae4c02a5a637df3b611
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_io_PushbackInputStream__
5 #define __java_io_PushbackInputStream__
7 #pragma interface
9 #include <java/io/FilterInputStream.h>
10 #include <gcj/array.h>
13 class java::io::PushbackInputStream : public ::java::io::FilterInputStream
16 public:
17 PushbackInputStream(::java::io::InputStream *);
18 PushbackInputStream(::java::io::InputStream *, jint);
19 virtual jint available();
20 virtual void close();
21 virtual jboolean markSupported();
22 virtual void reset();
23 virtual jint read();
24 virtual jint read(JArray< jbyte > *, jint, jint);
25 virtual void unread(jint);
26 virtual void unread(JArray< jbyte > *);
27 virtual void unread(JArray< jbyte > *, jint, jint);
28 virtual jlong skip(jlong);
29 private:
30 static const jint DEFAULT_BUFFER_SIZE = 1;
31 public: // actually protected
32 JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) buf;
33 jint pos;
34 public:
35 static ::java::lang::Class class$;
38 #endif // __java_io_PushbackInputStream__