All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>
Direct Known Subclasses:
Provider

  • Field Summary

    Fields

    A property list that contains default values for any keys not found in this property list.

  • Constructor Summary

    Constructors

    Creates an empty property list with no default values.

    Properties(int initialCapacity)

    Creates an empty property list with no default values, and with an initial size accommodating the specified number of elements without the need to dynamically resize.

    Creates an empty property list with the specified defaults.

  • Method Summary

    Searches for the property with the specified key in this property list.

    Searches for the property with the specified key in this property list.

    void

    Prints this property list out to the specified output stream.

    void

    Prints this property list out to the specified output stream.

    void

    Reads a property list (key and element pairs) from the input byte stream.

    void

    Reads a property list (key and element pairs) from the input character stream in a simple line-oriented format.

    void

    Loads all of the properties represented by the XML document on the specified input stream into this properties table.

    Returns an enumeration of all the keys in this property list, including distinct keys in the default property list if a key of the same name has not already been found from the main properties list.

    void

    Calls the Hashtable method put.

    void

    Writes this property list (key and element pairs) in this Properties table to the output stream in a format suitable for loading into a Properties table using the load(InputStream) method.

    void

    Writes this property list (key and element pairs) in this Properties table to the output character stream in a format suitable for using the load(Reader) method.

    void

    Emits an XML document representing all of the properties contained in this table.

    void

    Emits an XML document representing all of the properties contained in this table, using the specified encoding.

    void

    Emits an XML document representing all of the properties contained in this table, using the specified encoding.

    Returns an unmodifiable set of keys from this property list where the key and its corresponding value are strings, including distinct keys in the default property list if a key of the same name has not already been found from the main properties list.

  • Field Details

    • defaults

  • Constructor Details

    • Properties

    • Properties

    • Properties

  • Method Details

    • setProperty

    • load

    • load

    • save

    • store

    • store

    • loadFromXML

    • storeToXML

    • storeToXML

    • storeToXML

    • getProperty

    • getProperty

    • propertyNames

    • stringPropertyNames

    • list

    • list