JavaTM 2 Platform
Std. Ed. v1.3.1

Uses of Class
java.io.PrintStream

Packages that use PrintStream
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.lang Provides classes that are fundamental to the design of the Java programming language. 
java.lang.reflect Provides classes and interfaces for obtaining reflective information about classes and objects. 
java.rmi Provides the RMI package. 
java.rmi.activation Provides support for RMI Object Activation. 
java.rmi.server Provides classes and interfaces for supporting the server side of RMI. 
java.security Provides the classes and interfaces for the security framework. 
java.sql Provides the API for accessing and processing data in a data source using the JavaTM programming language. 
java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). 
javax.naming Provides the classes and interfaces for accessing naming services. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
 

Uses of PrintStream in java.awt
 

Methods in java.awt with parameters of type PrintStream
 void Component.list(PrintStream out)
          Prints a listing of this component to the specified output stream.
 void Component.list(PrintStream out, int indent)
          Prints out a list, starting at the specified indention, to the specified print stream.
 void Container.list(PrintStream out, int indent)
          Prints a listing of this container to the specified output stream.
 

Uses of PrintStream in java.lang
 

Fields in java.lang declared as PrintStream
static PrintStream System.out
          The "standard" output stream.
static PrintStream System.err
          The "standard" error output stream.
 

Methods in java.lang with parameters of type PrintStream
 void Throwable.printStackTrace(PrintStream s)
          Prints this Throwable and its backtrace to the specified print stream.
static void System.setOut(PrintStream out)
          Reassigns the "standard" output stream.
static void System.setErr(PrintStream err)
          Reassigns the "standard" error output stream.
 void ExceptionInInitializerError.printStackTrace(PrintStream ps)
          Prints the stack trace of the exception that occurred to the specified print stream.
 void ClassNotFoundException.printStackTrace(PrintStream ps)
          Prints the stack backtrace to the specified print stream.
 

Uses of PrintStream in java.lang.reflect
 

Methods in java.lang.reflect with parameters of type PrintStream
 void InvocationTargetException.printStackTrace(PrintStream ps)
          Prints the stack trace of the thrown target exception to the specified print stream.
 void UndeclaredThrowableException.printStackTrace(PrintStream ps)
          Prints this UndeclaredThrowableException and its backtrace to the specified PrintStream.
 

Uses of PrintStream in java.rmi
 

Methods in java.rmi with parameters of type PrintStream
 void RemoteException.printStackTrace(PrintStream ps)
          Prints the composite message and the embedded stack trace to the specified stream ps.
 

Uses of PrintStream in java.rmi.activation
 

Methods in java.rmi.activation with parameters of type PrintStream
 void ActivationException.printStackTrace(PrintStream ps)
          Prints the composite message and the embedded stack trace to the specified stream ps.
 

Uses of PrintStream in java.rmi.server
 

Subclasses of PrintStream in java.rmi.server
 class LogStream
          Deprecated. no replacement
 

Methods in java.rmi.server that return PrintStream
static PrintStream RemoteServer.getLog()
          Returns stream for the RMI call log.
static PrintStream LogStream.getDefaultStream()
          Deprecated. no replacement
 

Methods in java.rmi.server with parameters of type PrintStream
static void LogStream.setDefaultStream(PrintStream newDefault)
          Deprecated. no replacement
 void ServerCloneException.printStackTrace(PrintStream ps)
          Prints the composite message and the embedded stack trace to the specified stream ps.
 

Uses of PrintStream in java.security
 

Methods in java.security with parameters of type PrintStream
 void PrivilegedActionException.printStackTrace(PrintStream ps)
          Prints the stack trace of the exception that occurred to the specified print stream.
 

Uses of PrintStream in java.sql
 

Methods in java.sql that return PrintStream
static PrintStream DriverManager.getLogStream()
          Deprecated.  
 

Methods in java.sql with parameters of type PrintStream
static void DriverManager.setLogStream(PrintStream out)
          Deprecated.  
 

Uses of PrintStream in java.util
 

Methods in java.util with parameters of type PrintStream
 void Properties.list(PrintStream out)
          Prints this property list out to the specified output stream.
 

Uses of PrintStream in javax.naming
 

Methods in javax.naming with parameters of type PrintStream
 void NamingException.printStackTrace(PrintStream ps)
          Prints this exception's stack trace to a print stream.
 

Uses of PrintStream in javax.swing
 

Methods in javax.swing that return PrintStream
static PrintStream DebugGraphics.logStream()
          Returns the stream to which the DebugGraphics logs drawing operations.
 

Methods in javax.swing with parameters of type PrintStream
static void DebugGraphics.setLogStream(PrintStream stream)
          Sets the stream to which the DebugGraphics logs drawing operations.
 

Uses of PrintStream in javax.swing.text
 

Methods in javax.swing.text with parameters of type PrintStream
 void AbstractDocument.dump(PrintStream out)
          Gives a diagnostic dump.
 void AbstractDocument.AbstractElement.dump(PrintStream psOut, int indentAmount)
          Dumps a debugging representation of the element hierarchy.
 


JavaTM 2 Platform
Std. Ed. v1.3.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.