|
|||||||||
| Home >> All >> com >> lutris >> [ util overview ] | PREV NEXT | ||||||||
Uses of Class
com.lutris.util.KeywordValueException
| Uses of KeywordValueException in com.lutris.util |
| Subclasses of KeywordValueException in com.lutris.util | |
class |
ConfigException
Exception class thrown by class Config. |
| Methods in com.lutris.util that throw KeywordValueException | |
private KeywordValueTable |
KeywordValueTable.findSection(java.lang.String[] keywordPath,
boolean create,
int pathIdx)
Recursively locate the section named by a keyword path. |
java.lang.Object |
KeywordValueTable.get(java.lang.String keyword)
Get the value of a field as an object. |
java.lang.Object |
KeywordValueTable.get(java.lang.String keyword,
java.lang.Object defaultValue)
Get the value of a field as an object, return a default if it does not exist. |
java.lang.String |
KeywordValueTable.getString(java.lang.String keyword)
Get the value of a field as a string |
java.lang.String |
KeywordValueTable.getString(java.lang.String keyword,
java.lang.String defaultValue)
Get the value of a field as a string, return a default if it does not exist. |
KeywordValueTable |
KeywordValueTable.getSection(java.lang.String keyword)
Get the value of a section. |
void |
KeywordValueTable.set(java.lang.String keyword,
java.lang.Object value)
Set the value of a field. |
void |
KeywordValueTable.setDefault(java.lang.String keyword,
java.lang.Object defaultValue)
Sets a default value for a keyword. |
boolean |
KeywordValueTable.containsKey(java.lang.String keyword)
Determine if the a field with the specified keyword exists. |
void |
KeywordValueTable.remove(java.lang.String keyword)
Delete a field, if the field does not exist, the operation is ignored. |
private static java.lang.String |
KeywordParser.parseComponent(java.util.StringTokenizer tokens,
int compIdx,
java.lang.String keyword)
Parse and validate the next component of a keyword. |
static java.lang.String[] |
KeywordParser.parse(java.lang.String keyword)
Parse a keyword into its components, validating that the components are legal names. |
void |
ConfigFile.addEntry(java.lang.String key,
java.lang.String[] values,
java.lang.String comment)
Add an entry to the config file. |
void |
ConfigFile.addEntry(java.lang.String key,
java.lang.String value,
java.lang.String comment)
Add an entry to the config file. |
void |
ConfigFile.removeEntry(java.lang.String key)
Remove an entry from the config file. |
Config |
Config.getConfig(java.lang.String keyword)
Get the value of a section as a Config object. |
KeywordValueTable |
Config.getSection(java.lang.String keyword)
Get the value of a section as a KeywordValueTable object. |
|
|||||||||
| Home >> All >> com >> lutris >> [ util overview ] | PREV NEXT | ||||||||