Class JmriPreferencesProvider


public final class JmriPreferencesProvider
extends Object
Provides instances of Preferences backed by a JMRI-specific storage implementation based on a Properties file.

There are two Properties files per Profile and NodeIdentity, both stored in the directory profile:profile:

  • preferences that are shared across multiple nodes for a single profile. An example of such a preference would be the Railroad Name preference.
  • <node-identity>/ preferences that are specific to the profile running on a specific host (<node-identity> is the identity returned by NodeIdentity.storageIdentity()). An example of such a preference would be a file location.

Non-profile specific configuration that applies to all profiles is stored in the file settings:preferences/