public interface Preferences
Modified by: Joseph A. Huwaldt
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get(java.lang.String key)
Return the preference with the specified key String.
|
java.lang.String |
getLastPath()
Returns the file path to the parent of the last referenced file.
|
void |
set(java.lang.String key,
java.lang.String value)
Set the preference with the specified key String.
|
void |
setLastPath(java.lang.String path)
Set the last file path referenced by the user.
|
void |
showPreferenceDialog()
Method that displays a dialog that allows the user to change the application preferences.
|
java.lang.String getLastPath()
void setLastPath(java.lang.String path)
void showPreferenceDialog()
java.lang.String get(java.lang.String key)
key
- The key String identifying the preference to be retrieved.void set(java.lang.String key, java.lang.String value)
key
- The key String identifying the preference to be set.value
- THe String value to store as the preference.