Package com.iizigo.prop
Class StarredAdaptive
- java.lang.Object
- com.iizigo.prop.StarredAdaptive
public class StarredAdaptive extends java.lang.Object
Class used to star properties and to make them adaptive (most used).- Author:
- Christopher Mindus
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getSettings()
Gets the settings to save.static boolean
isPropertyStarred(java.lang.String name)
Checks if a property is starred.static void
loadSettings(java.lang.String setting)
Loads the settings.static void
markRecentlyUsed(java.lang.String name)
Marks the property as recently used.static void
setPropertyStarred(java.lang.String name, boolean isStarred)
Stars the property name specified.
Method Detail
loadSettings
public static void loadSettings(java.lang.String setting)
Loads the settings.
getSettings
public static java.lang.String getSettings()
Gets the settings to save.
setPropertyStarred
public static void setPropertyStarred(java.lang.String name, boolean isStarred)
Stars the property name specified.
isPropertyStarred
public static boolean isPropertyStarred(java.lang.String name)
Checks if a property is starred.
markRecentlyUsed
public static void markRecentlyUsed(java.lang.String name)
Marks the property as recently used.