## Uses of Class
java.io.PrintStream

- Packages that use PrintStream
  Package | Description
  --- | ---
  java.io |
  java.lang |
  java.util |

- - ### Uses of PrintStream in java.io

    Methods in java.io that return PrintStream
    Modifier and Type | Method and Description
    --- | ---
    `PrintStream` | PrintStream.`append(char c)` Appends the specified character to this output stream.
    `PrintStream` | PrintStream.`append(CharSequence csq)` Appends the specified character sequence to this output stream.
    `PrintStream` | PrintStream.`append(CharSequence csq, int start, int end)` Appends a subsequence of the specified character sequence to this output stream.
    `PrintStream` | PrintStream.`printf(String format, Object... args)` A convenience method to write a formatted string to this output stream using the specified format string and arguments.

  - ### Uses of PrintStream in java.lang

    Fields in java.lang declared as PrintStream
    Modifier and Type | Field and Description
    --- | ---
    `static PrintStream` | System.`err`
    `static PrintStream` | System.`out`

    Methods in java.lang with parameters of type PrintStream
    Modifier and Type | Method and Description
    --- | ---
    `void` | Throwable.`printStackTrace(PrintStream s)` Prints this throwable and its backtrace to the specified print stream.
    `static void` | System.`setErr(PrintStream err)`
    `static void` | System.`setOut(PrintStream out)`

  - ### Uses of PrintStream in java.util

    Methods in java.util with parameters of type PrintStream
    Modifier and Type | Method and Description
    --- | ---
    `void` | Properties.`list(PrintStream out)` Prints this property list out to the specified output stream.

Copyright © 2025 API Design. All Rights Reserved.