Config class

Implemented types

Constructors

Config()

Properties

data HashMap<String, HashMap<String, String>>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addConfig(String section, String option, String value) bool
Adds a new section->key:value to the configuration.
get(String key) String
getBool(String key) bool
override
getFloat(String key) double
override
getInt(String key) int
override
getString(String key) String
override
getStrings(String key) List<String>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(String path) → void
parseBuffer(StringBuffer buf) → void
set(String key, String value) → void
override
toString() String
A string representation of this object.
inherited
write(String section, int lineNum, String line) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

newConfig(String confName) Config
Create an empty configuration representation from file.
newConfigFromText(String text) Config
newConfigFromText create an empty configuration representation from text.