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

#ifndef __java_io_LineNumberReader__
#define __java_io_LineNumberReader__

#pragma interface

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

class ::java::io::LineNumberReader : public ::java::io::BufferedReader
{
public:
  LineNumberReader (::java::io::Reader *);
  LineNumberReader (::java::io::Reader *, jint);
  virtual jint getLineNumber () { return lineNumber; }
  virtual void setLineNumber (jint);
private:
  static jint countLines (jcharArray, jint, jint);
public:
  virtual void mark (jint);
  virtual void reset ();
  virtual jint read ();
  virtual jint read (jcharArray, jint, jint);
private:
  void skipRedundantLF ();
public:
  virtual ::java::lang::String *readLine ();
  virtual jlong skip (jlong);
public: // actually package-private
  jint lineNumber;
public:

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

#endif /* __java_io_LineNumberReader__ */
