Class ScaleConfigXML

java.lang.Object
jmri.configurexml.ScaleConfigXML

public class ScaleConfigXML extends Object
Load and store scale xml data files.

Custom changes to scale information result in the scale data being stored at the user files location. Subsequent scale data loading uses the custom data file. The default scale data file is part of the JMRI distribution.

Since:
4.13.6
  • Method Details

    • doStore

      public static boolean doStore()
      Store the Scales to file.
      Returns:
      true on success, else false.
    • doLoad

      public static boolean doLoad()
      Load the Scales from file. Checks userFilesPath then programPath for resources/scales/ScaleData.xml
      Returns:
      true on success, else false.