Class CustomPreference
java.lang.Object
com.priint.pubserverapi.preferences.CustomPreference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the name of the preference.getValue()Gets the value of the preference.voidsetKeyName(String keyName) Sets the name of the preference.voidSets the value of the preference.
-
Constructor Details
-
CustomPreference
public CustomPreference()
-
-
Method Details
-
getKeyName
Gets the name of the preference.- Returns:
- the name of the preference
-
setKeyName
Sets the name of the preference.- Parameters:
keyName- the name to set
-
getValue
Gets the value of the preference.- Returns:
- the value of the preference
-
setValue
Sets the value of the preference.- Parameters:
value- the value to set
-