Mark ChangeLog
[official-gcc.git] / libjava / java / io / FileInputStream.h
blob01efe5620d79cb211e561fc45c186893dc465c8a
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_io_FileInputStream__
5 #define __java_io_FileInputStream__
7 #pragma interface
9 #include <java/io/InputStream.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace gnu
16 namespace java
18 namespace nio
20 namespace channels
22 class FileChannelImpl;
27 namespace java
29 namespace nio
31 namespace channels
33 class FileChannel;
39 class java::io::FileInputStream : public ::java::io::InputStream
42 public:
43 FileInputStream(::java::lang::String *);
44 FileInputStream(::java::io::File *);
45 FileInputStream(::java::io::FileDescriptor *);
46 public: // actually package-private
47 FileInputStream(::gnu::java::nio::channels::FileChannelImpl *);
48 public:
49 virtual jint available();
50 virtual void close();
51 public: // actually protected
52 virtual void finalize();
53 public:
54 virtual ::java::io::FileDescriptor * getFD();
55 virtual jint read();
56 virtual jint read(JArray< jbyte > *);
57 virtual jint read(JArray< jbyte > *, jint, jint);
58 virtual jlong skip(jlong);
59 virtual ::java::nio::channels::FileChannel * getChannel();
60 private:
61 ::java::io::FileDescriptor * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) fd;
62 ::gnu::java::nio::channels::FileChannelImpl * ch;
63 public:
64 static ::java::lang::Class class$;
67 #endif // __java_io_FileInputStream__