Package games.stendhal.common
Class FeatureList
java.lang.Object
games.stendhal.common.FeatureList
A list of [enabled] features.
-
Constructor Details
-
FeatureList
public FeatureList()Create a list of [enabled] features.
-
-
Method Details
-
clear
public void clear()Clear the list of features. -
decode
Read an encoded features list. Encoded features are in the form of:
name[=
value][:
name[=
value]...]- Parameters:
encoded
- encoded string to decode
-
get
Get a feature value.- Parameters:
name
- key- Returns:
- A feature value, or
null
if not-enabled.
-
iterator
-