cdc.util.prefs.defaults.StringPreference Maven / Gradle / Ivy
package cdc.util.prefs.defaults;
import java.util.prefs.Preferences;
import cdc.util.prefs.AbstractPreference;
/**
* String preference (node, key) pair.
*
* @author Damien Carbonne
*/
public final class StringPreference extends AbstractPreference {
public StringPreference(Preferences node,
String key,
String def) {
super(String.class,
node,
key,
def,
s -> s,
s -> s);
}
}