Package megamek.client.ui.preferences
Class SuitePreferences
java.lang.Object
megamek.client.ui.preferences.SuitePreferences
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidloadFromFile(String filePath) Loads the preferences from a passed in file string.voidsaveToFile(String filePath)
-
Constructor Details
-
SuitePreferences
public SuitePreferences()
-
-
Method Details
-
getNameToPreferencesMap
-
forClass
-
saveToFile
-
loadFromFile
Loads the preferences from a passed in file string. If the file doesn't exist, just exit and move on.- Parameters:
filePath- path to the file, relative or absolute.
-