Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.io.PrintWriter

Availability: JDK 1.1

public class PrintWriter extends Writer {
   // Public Constructors
      public PrintWriter(Writer out);
      public PrintWriter(Writer out, boolean autoFlush);
      public PrintWriter(OutputStream out);
      public PrintWriter(OutputStream out, boolean autoFlush);
   // Public Instance Methods
      public boolean checkError();
      public void close();  // Defines Writer.close()
      public void flush();  // Defines Writer.flush()
      public void print(boolean b);
      public void print(char c);
      public void print(int i);
      public void print(long l);
      public void print(float f);
      public void print(double d);
      public void print(char[] s);
      public void print(String s);
      public void print(Object obj);
      public void println();
      public void println(boolean x);
      public void println(char x);
      public void println(int x);
      public void println(long x);
      public void println(float x);
      public void println(double x);
      public void println(char[] x);
      public void println(String x);
      public void println(Object x);
      public void write(int c);  // Overrides Writer.write()
      public void write(char[] buf, int off, int len);  // Defines Writer.write()
      public void write(char[] buf);  // Overrides Writer.write()
      public void write(String s, int off, int len);  // Overrides Writer.write()
      public void write(String s);  // Overrides Writer.write()
   // Protected Instance Methods
      protected void setError();
}
Passed To:
Component.list(), Container.list(), Properties.list(), Throwable.printStackTrace().

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.