// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_io_RandomAccessFile__
#define __java_io_RandomAccessFile__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

class ::java::io::RandomAccessFile : public ::java::lang::Object
{
public:
  virtual void close ();
  ::java::io::FileDescriptor *getFD ();
  virtual jlong getFilePointer ();
  virtual jlong length ();
  RandomAccessFile (::java::lang::String *, ::java::lang::String *);
  RandomAccessFile (::java::io::File *, ::java::lang::String *);
  virtual jint read ();
  virtual jint read (jbyteArray);
  virtual jint read (jbyteArray, jint, jint);
  jboolean readBoolean ();
  jbyte readByte ();
  jchar readChar ();
  jdouble readDouble ();
  jfloat readFloat ();
  void readFully (jbyteArray);
  void readFully (jbyteArray, jint, jint);
  jint readInt ();
  ::java::lang::String *readLine ();
  jlong readLong ();
  jshort readShort ();
  jint readUnsignedByte ();
  jint readUnsignedShort ();
  ::java::lang::String *readUTF ();
  virtual void seek (jlong);
  virtual jint skipBytes (jint);
  virtual void write (jint);
  virtual void write (jbyteArray);
  virtual void write (jbyteArray, jint, jint);
  void writeBoolean (jboolean);
  void writeByte (jint);
  void writeShort (jint);
  void writeChar (jint);
  void writeInt (jint);
  void writeLong (jlong);
  void writeFloat (jfloat);
  void writeDouble (jdouble);
  void writeBytes (::java::lang::String *);
  void writeChars (::java::lang::String *);
  void writeUTF (::java::lang::String *);
private:
  ::java::io::FileDescriptor *fd;
  ::java::io::DataOutputStream *out;
  ::java::io::DataInputStream *in;
public:

  static ::java::lang::Class class$;
};

#endif /* __java_io_RandomAccessFile__ */
