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

#ifndef __java_io_PrintWriter__
#define __java_io_PrintWriter__

#pragma interface

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

class ::java::io::PrintWriter : public ::java::io::Writer
{
public:
  PrintWriter (::java::io::Writer *);
  PrintWriter (::java::io::Writer *, jboolean);
  PrintWriter (::java::io::OutputStream *);
  PrintWriter (::java::io::OutputStream *, jboolean);
public:  // actually protected
  virtual void setError ();
public:
  virtual jboolean checkError ();
  virtual void flush ();
  virtual void close ();
  virtual void print (::java::lang::String *);
  virtual void print (jchar);
  virtual void print (jcharArray);
  virtual void print (jboolean);
  virtual void print (jint);
  virtual void print (jlong);
  virtual void print (jfloat);
  virtual void print (jdouble);
  virtual void print (::java::lang::Object *);
  virtual void println ();
  virtual void println (jboolean);
  virtual void println (jint);
  virtual void println (jlong);
  virtual void println (jfloat);
  virtual void println (jdouble);
  virtual void println (::java::lang::Object *);
  virtual void println (::java::lang::String *);
  virtual void println (jchar);
  virtual void println (jcharArray);
  virtual void write (jint);
  virtual void write (jcharArray, jint, jint);
  virtual void write (::java::lang::String *, jint, jint);
  virtual void write (jcharArray);
  virtual void write (::java::lang::String *);
private:
  jboolean autoflush;
  jboolean error;
public:  // actually protected
  ::java::io::Writer *out;
private:
  static jcharArray line_separator;
public:

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

#endif /* __java_io_PrintWriter__ */
