Interface IPreferencesContainer
public interface IPreferencesContainer
The container of the secure preferences. Objects implementing this interface
are supplied to to various provider method calls to describe current context.
This interface is not intended to be implemented or extended by clients.
- See Also:
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Method Summary
Modifier and TypeMethodDescriptionReturns location corresponding to the secure preferences.Returns an option specified for this container, ornullif the option was not specified.Returns secure preferences contained in this container.booleanDetermines is a given option is specified for this container.
-
Method Details
-
getLocation
URL getLocation()Returns location corresponding to the secure preferences.- Returns:
- location corresponding to the secure preferences
-
getPreferences
ISecurePreferences getPreferences()Returns secure preferences contained in this container.- Returns:
- root node of the secure preferences contained in this container
-
hasOption
Determines is a given option is specified for this container.- Parameters:
key- key describing the option- Returns:
trueif container has this option;falseotehrwise- See Also:
-
getOption
Returns an option specified for this container, ornullif the option was not specified.- Parameters:
key- describes the option- Returns:
- value of the option for this container, or
nullthe option was not specified
-