public class HiddenConfigKey<T> extends ConfigKey<T>
Constructor and Description |
---|
HiddenConfigKey(ConfigMeta meta,
Class<T> clazz,
T dflt)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Specifier<T> |
createSpecifier()
Throws UnsupportedOperationException.
|
T |
stringToValue(String txt)
Throws UnsupportedOperationException.
|
String |
valueToString(T value)
Throws UnsupportedOperationException.
|
cast, getDefaultValue, getMeta, getValueClass, toString
public HiddenConfigKey(ConfigMeta meta, Class<T> clazz, T dflt)
meta
- metadataclazz
- value classdflt
- default valuepublic Specifier<T> createSpecifier()
createSpecifier
in class ConfigKey<T>
public T stringToValue(String txt)
stringToValue
in class ConfigKey<T>
txt
- string representation of valuepublic String valueToString(T value)
valueToString
in class ConfigKey<T>
value
- possible value associated with this keyCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.