Module java.base
Package java.lang

Class System


  • public final class System
    		extends Object
    The System class contains several useful class fields and methods. It cannot be instantiated. Among the facilities provided by the System class are standard input, standard output, and error output streams; access to externally defined properties and environment variables; a means of loading files and libraries; and a utility method for quickly copying a portion of an array.
    Since:
    1.0
    • Nested Class Summary

      Nested Classes
      Modifier and Type Class Description
      static interface  System.Logger
      System.Logger instances log messages that will be routed to the underlying logging framework the LoggerFinder uses.
      static class  System.LoggerFinder
      The LoggerFinder service is responsible for creating, managing, and configuring loggers to the underlying framework it uses.
    • Field Summary

      Fields
      Modifier and Type Field Description
      static PrintStream err
      The "standard" error output stream.
      static InputStream in
      The "standard" input stream.
      static PrintStream out
      The "standard" output stream.