Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.io.PrintStream

Availability: JDK 1.0

public class PrintStream extends FilterOutputStream {
   // Public Constructors
#    public PrintStream(OutputStream out);
#    public PrintStream(OutputStream out, boolean autoFlush);
   // Public Instance Methods
      public boolean checkError();
      public void close();  // Overrides FilterOutputStream.close()
      public void flush();  // Overrides FilterOutputStream.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 b);  // Overrides FilterOutputStream.write()
      public void write(byte[] buf, int off, int len);  // Overrides FilterOutputStream.write()
   // Protected Instance Methods
1.1  protected void setError();
}
Extended By:
LogStream.
Passed To:
Component.list(), Container.list(), DriverManager.setLogStream(), LogStream.setDefaultStream(), Properties.list(), System.setErr(), System.setOut(), Throwable.printStackTrace().
Returned By:
DriverManager.getLogStream(), LogStream.getDefaultStream(), RemoteServer.getLog().
Type Of:
System.err, System.out.

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