public class StringSetting extends Setting<java.lang.String>
Constructor and Description |
---|
StringSetting(java.lang.String path) |
StringSetting(java.lang.String path,
java.util.function.Predicate<java.lang.String> validator) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValueFrom(ConfigNode node) |
getPath, isValid, nullValidator, timeValidator, toString
public StringSetting(java.lang.String path)
public StringSetting(java.lang.String path, java.util.function.Predicate<java.lang.String> validator)
public java.lang.String getValueFrom(ConfigNode node)
getValueFrom
in class Setting<java.lang.String>