Class JmriConfigurationManager

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void deregister​(java.lang.Object o)  
      protected void displayErrorListDialog​(java.lang.Object list)  
      java.net.URL find​(java.lang.String filename)
      Provide a method-specific way of locating a file to be loaded from a name.
      java.lang.Object findInstance​(java.lang.Class<?> c, int index)
      Find the ith instance of an object of particular class that's been registered for storage.
      java.util.HashMap<PreferencesManager,​InitializationException> getInitializationExceptions()  
      java.util.List<java.lang.Object> getInstanceList​(java.lang.Class<?> c)
      Returns a list of instances stored for a given class.
      XmlFile.Validate getValidate()
      Get the scope of validation of XML files when loading.
      protected void handleQuit()  
      protected void handleRestart()  
      protected boolean isEditDialogRestart()  
      boolean load​(java.io.File file)
      Create the objects defined in a particular configuration file
      boolean load​(java.io.File file, boolean registerDeferred)
      Create the objects defined in a particular configuration file
      boolean load​(java.net.URL url)
      Create the objects defined in a particular configuration file
      boolean load​(java.net.URL url, boolean registerDeferred)
      Create the objects defined in a particular configuration file
      boolean loadDeferred​(java.io.File file)
      Create the objects defined in a particular configuration file that have been deferred until after basic GUI construction completed
      boolean loadDeferred​(java.net.URL file)
      Create the objects defined in a particular configuration file that have been deferred until after basic GUI construction completed
      boolean makeBackup​(java.io.File file)
      Make a backup file.
      void registerConfig​(java.lang.Object o)  
      void registerConfig​(java.lang.Object o, int x)  
      void registerPref​(java.lang.Object o)  
      void registerTool​(java.lang.Object o)  
      void registerUser​(java.lang.Object o)  
      void registerUserPrefs​(java.lang.Object o)  
      void removePrefItems()  
      void setValidate​(XmlFile.Validate v)
      Control the scope of validation of XML files when loading.
      boolean storeConfig​(java.io.File file)
      Stores just configuration information.
      void storePrefs()
      Save preferences.
      void storePrefs​(java.io.File file)
      Save preferences.
      boolean storeUser​(java.io.File file)
      Stores user and config information.
      void storeUserPrefs​(java.io.File file)
      Stores just user preferences information.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait