ConfigMap
Class
An order-preserving map that represents entries in a .csk
Skript config file.
This map is editable and can be saved to a target file.
Extends
LinkedHashMap
Modifiers
public
Constructors
new ConfigMap (InputStream)
ConstructorNo description is available for this element.
Index | Type | Name |
---|---|---|
1 | InputStream | stream |
Return Type
ConfigMap
Modifiers
public
new ConfigMap (File)
ConstructorNo description is available for this element.
Index | Type | Name |
---|---|---|
1 | File | file |
Return Type
ConfigMap
Modifiers
public
new ConfigMap ()
ConstructorNo description is available for this element.
Return Type
ConfigMap
Modifiers
public
Fields
file
FieldNo description is available for this element.
Type
File
Modifiers
protected final
comments
FieldNo description is available for this element.
Type
List
Modifiers
protected transient
current
FieldNo description is available for this element.
Type
StringBuilder
Modifiers
protected transient
Methods
add (String, ConfigMap)
MethodNo description is available for this element.
Index | Type | Name |
---|---|---|
1 | String | string |
2 | ConfigMap | map |
Return Type
void
Modifiers
public static
get (String, ConfigMap)
MethodNo description is available for this element.
Index | Type | Name |
---|---|---|
1 | String | key |
2 | ConfigMap | map |
Return Type
String
Modifiers
public static
put (ConfigEntry)
MethodNo description is available for this element.
Index | Type | Name |
---|---|---|
1 | ConfigEntry | value |
Return Type
ConfigEntry
Modifiers
public
toString ()
MethodNo description is available for this element.
Return Type
String
Modifiers
public
set (String, ConfigMap, String)
MethodNo description is available for this element.
Index | Type | Name |
---|---|---|
1 | String | key |
2 | ConfigMap | map |
3 | String | value |
Return Type
void
Modifiers
public static
write (OutputStream)
MethodNo description is available for this element.
Index | Type | Name |
---|---|---|
1 | OutputStream | stream |
Return Type
void
Modifiers
public
delete ()
MethodNo description is available for this element.
Return Type
void
Modifiers
public
save ()
MethodNo description is available for this element.
Return Type
void
Modifiers
public
create (String)
MethodNo description is available for this element.
Index | Type | Name |
---|---|---|
1 | String | path |
Return Type
ConfigMap
Modifiers
public static
create (File)
MethodNo description is available for this element.
Index | Type | Name |
---|---|---|
1 | File | file |
Return Type
ConfigMap
Modifiers
public static
create (InputStream)
MethodNo description is available for this element.
Index | Type | Name |
---|---|---|
1 | InputStream | stream |
Return Type
ConfigMap
Modifiers
public static
readLines (InputStreamController)
MethodNo description is available for this element.
Index | Type | Name |
---|---|---|
1 | InputStreamController | controller |
Return Type
void
Modifiers
protected
stripLine (String, AtomicBoolean)
MethodNo description is available for this element.
Index | Type | Name |
---|---|---|
1 | String | old |
2 | AtomicBoolean | comment |
Return Type
String
Modifiers
protected
getMapValue (Object, Object)
MethodNo description is available for this element.
Index | Type | Name |
---|---|---|
1 | Object | key |
2 | Object | target |
Return Type
Object
Modifiers
public static
setMapValue (Object, Object, Object)
MethodNo description is available for this element.
Index | Type | Name |
---|---|---|
1 | Object | key |
2 | Object | target |
3 | Object | value |
Return Type
void
Modifiers
public static
deleteMapValue (Object, Object)
MethodNo description is available for this element.
Index | Type | Name |
---|---|---|
1 | Object | key |
2 | Object | target |
Return Type
void
Modifiers
public static