Class ConfigValueParser.StringListParser
java.lang.Object
com.djrapitops.plan.settings.config.ConfigValueParser.StringListParser
- All Implemented Interfaces:
ConfigValueParser<List<String>>
- Enclosing interface:
- ConfigValueParser<T>
public static class ConfigValueParser.StringListParser
extends Object
implements ConfigValueParser<List<String>>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.djrapitops.plan.settings.config.ConfigValueParser
ConfigValueParser.BooleanParser, ConfigValueParser.DoubleParser, ConfigValueParser.IntegerParser, ConfigValueParser.LongParser, ConfigValueParser.StringListParser, ConfigValueParser.StringParser
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
StringListParser
public StringListParser()
-
-
Method Details
-
compose
Description copied from interface:ConfigValueParser
Parse a String value in the config into the appropriate object.- Specified by:
compose
in interfaceConfigValueParser<List<String>>
- Parameters:
fromValue
- String value in the config.- Returns:
- Config value or null if it could not be parsed.
-
decompose
Description copied from interface:ConfigValueParser
Parse an object into a String value to save in the config.- Specified by:
decompose
in interfaceConfigValueParser<List<String>>
- Parameters:
ofValue
- Value to save, not null.- Returns:
- String format to save in the config.
-