Package org.rspeer.game.script.meta
Class ScriptConfig
- java.lang.Object
-
- org.rspeer.game.script.meta.ScriptConfig
-
public class ScriptConfig extends Object
-
-
Constructor Summary
Constructors Constructor Description ScriptConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(String key)
<T> T
get(String key)
boolean
getBoolean(String key)
int
getInteger(String key)
String
getString(String key)
static ScriptConfig
parseDefault(Map<String,Class<?>> types, String args, boolean escapeDash)
static ScriptConfig
parseDefault(Map<String,FieldAnnotationMapping> mappings, String args)
static ScriptConfig
parseDefault(ScriptUI scriptUI, String args)
void
put(String key, Object value)
String
toString()
-
-
-
Method Detail
-
parseDefault
public static ScriptConfig parseDefault(Map<String,Class<?>> types, String args, boolean escapeDash)
-
parseDefault
public static ScriptConfig parseDefault(Map<String,FieldAnnotationMapping> mappings, String args)
-
parseDefault
public static ScriptConfig parseDefault(ScriptUI scriptUI, String args)
-
get
public <T> T get(String key)
-
getInteger
public int getInteger(String key)
-
getBoolean
public boolean getBoolean(String key)
-
containsKey
public boolean containsKey(String key)
-
clear
public void clear()
-
-