Uses of Class java.util.Properties (Java Platform SE 8 )
Date: 2018-07-01

## Uses of Class
java.util.Properties

- Packages that use Properties
  Package | Description
  --- | ---
  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.rmi.activation | Provides support for RMI Object Activation.
  java.security | Provides the classes and interfaces for the security framework.
  java.sql | Provides the API for accessing and processing data stored in a data source (usually a relational database) 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.xml.transform | This package defines the generic APIs for processing transformation instructions, and performing a transformation from source to result.
  org.omg.CORBA | Provides the mapping of the OMG CORBA APIs to the JavaTM programming language, including the class `ORB`, which is implemented so that a programmer can use it as a fully-functional Object Request Broker (ORB).

- - ### Uses of Properties in java.awt

    Methods in java.awt with parameters of type Properties
    Modifier and Type | Method and Description
    --- | ---
    `abstract PrintJob` | Toolkit.`getPrintJob(Frame frame, String jobtitle, Properties props)` Gets a `PrintJob` object which is the result of initiating a print operation on the toolkit's platform.

  - ### Uses of Properties in java.lang

    Methods in java.lang that return Properties
    Modifier and Type | Method and Description
    --- | ---
    `static Properties` | System.`getProperties()` Determines the current system properties.

    Methods in java.lang with parameters of type Properties
    Modifier and Type | Method and Description
    --- | ---
    `static void` | System.`setProperties(Properties props)` Sets the system properties to the `Properties` argument.

  - ### Uses of Properties in java.rmi.activation

    Methods in java.rmi.activation that return Properties
    Modifier and Type | Method and Description
    --- | ---
    `Properties` | ActivationGroupDesc.`getPropertyOverrides()` Returns the group's property-override list.

    Constructors in java.rmi.activation with parameters of type Properties
    Constructor and Description
    `ActivationGroupDesc(Properties overrides, ActivationGroupDesc.CommandEnvironment cmd)` Constructs a group descriptor that uses the system defaults for group implementation and code location.
    `ActivationGroupDesc(String className, String location, MarshalledObject<?> data, Properties overrides, ActivationGroupDesc.CommandEnvironment cmd)` Specifies an alternate group implementation and execution environment to be used for the group.

  - ### Uses of Properties in java.security

    Subclasses of Properties in java.security
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AuthProvider` This class defines login and logout methods for a provider.
    `class` | `Provider` This class represents a "provider" for the Java Security API, where a provider implements some or all parts of Java Security.

  - ### Uses of Properties in java.sql

    Methods in java.sql that return Properties
    Modifier and Type | Method and Description
    --- | ---
    `Properties` | Connection.`getClientInfo()` Returns a list containing the name and current value of each client info property supported by the driver.

    Methods in java.sql with parameters of type Properties
    Modifier and Type | Method and Description
    --- | ---
    `Connection` | Driver.`connect(String url, Properties info)` Attempts to make a database connection to the given URL.
    `static Connection` | DriverManager.`getConnection(String url, Properties info)` Attempts to establish a connection to the given database URL.
    `DriverPropertyInfo[]` | Driver.`getPropertyInfo(String url, Properties info)` Gets information about the possible properties for this driver.
    `void` | Connection.`setClientInfo(Properties properties)` Sets the value of the connection's client info properties.

  - ### Uses of Properties in java.util

    Fields in java.util declared as Properties
    Modifier and Type | Field and Description
    --- | ---
    `protected Properties` | Properties.`defaults` A property list that contains default values for any keys not found in this property list.

    Constructors in java.util with parameters of type Properties
    Constructor and Description
    `Properties(Properties defaults)` Creates an empty property list with the specified defaults.

  - ### Uses of Properties in javax.naming

    Fields in javax.naming declared as Properties
    Modifier and Type | Field and Description
    --- | ---
    `protected Properties` | CompoundName.`mySyntax` Syntax properties for this compound name.

    Constructors in javax.naming with parameters of type Properties
    Constructor and Description
    `CompoundName(Enumeration<String> comps, Properties syntax)` Constructs a new compound name instance using the components specified in comps and syntax.
    `CompoundName(String n, Properties syntax)` Constructs a new compound name instance by parsing the string n using the syntax specified by the syntax properties supplied.

  - ### Uses of Properties in javax.xml.transform

    Methods in javax.xml.transform that return Properties
    Modifier and Type | Method and Description
    --- | ---
    `Properties` | Templates.`getOutputProperties()` Get the properties corresponding to the effective xsl:output element.
    `abstract Properties` | Transformer.`getOutputProperties()` Get a copy of the output properties for the transformation.

    Methods in javax.xml.transform with parameters of type Properties
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | Transformer.`setOutputProperties(Properties oformat)` Set the output properties for the transformation.

  - ### Uses of Properties in org.omg.CORBA

    Methods in org.omg.CORBA with parameters of type Properties
    Modifier and Type | Method and Description
    --- | ---
    `static ORB` | ORB.`init(Applet app, Properties props)` Creates a new `ORB` instance for an applet.
    `static ORB` | ORB.`init(String[] args, Properties props)` Creates a new `ORB` instance for a standalone application.
    `protected abstract void` | ORB.`set_parameters(Applet app, Properties props)` Allows the ORB implementation to be initialized with the given applet and parameters.
    `protected abstract void` | ORB.`set_parameters(String[] args, Properties props)` Allows the ORB implementation to be initialized with the given parameters and properties.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2018, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.