Class PropertyListConfiguration

All Implemented Interfaces:
Cloneable, Configuration, EventSource, FileBasedConfiguration, HierarchicalConfiguration<ImmutableNode>, ImmutableConfiguration, ImmutableHierarchicalConfiguration, FileBased, SynchronizerSupport, InMemoryNodeModelSupport, NodeKeyResolver<ImmutableNode>, NodeModelSupport<ImmutableNode>

public class PropertyListConfiguration extends BaseHierarchicalConfiguration implements FileBasedConfiguration
NeXT / OpenStep style configuration. This configuration can read and write ASCII plist files. It supports the GNUStep extension to specify date objects.

References:

Example:

{
    foo = "bar";

    array = ( value1, value2, value3 );

    data = <4f3e0145ab>;

    date = <*D2007-05-05 20:05:00 +0100>;

    nested =
    {
        key1 = value1;
        key2 = value;
        nested =
        {
            foo = bar
        }
    }
}
Since:
1.2
  • Constructor Details

    • PropertyListConfiguration

      public PropertyListConfiguration()
      Creates an empty PropertyListConfiguration object which can be used to synthesize a new plist file by adding values and then saving().
    • PropertyListConfiguration

      public PropertyListConfiguration(HierarchicalConfiguration<ImmutableNode> c)
      Creates a new instance of PropertyListConfiguration and copies the content of the specified configuration into this object.
      Parameters:
      c - the configuration to copy
      Since:
      1.4
  • Method Details