public class IniPropertiesConstructor
extends org.q.toolkit.convert.construct.AbstractConstructor<java.util.Map>
Constructor and Description |
---|
IniPropertiesConstructor() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
constructObject(java.lang.String str)
Construct an instance from the specified String value.
|
java.lang.String |
constructString(java.util.Map map)
Create a string that can be written to an ini file.
|
java.lang.Class<java.util.Map> |
getLiteral()
Get the class literal this constructor creates instances for.
|
public java.lang.String constructString(java.util.Map map)
map
- key value pars of entries in the ini file. Keys are not allowed to contain the equals character '='.public java.util.Map<java.lang.String,java.lang.String> constructObject(java.lang.String str)
org.q.toolkit.convert.Constructor
public java.lang.Class<java.util.Map> getLiteral()
org.q.toolkit.convert.Constructor
getLiteral
in interface org.q.toolkit.convert.Constructor<java.util.Map>
getLiteral
in class org.q.toolkit.convert.construct.AbstractConstructor<java.util.Map>