T - the kind of value to associate with the keypublic abstract static class ImportConfig.Value<T>
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
| boolean | empty() | 
| protected abstract T | fromString(java.lang.String string) | 
| T | get()Returns the generic type contained by this holder. | 
| void | load()Loads properties from various locations. | 
| void | set(T t)Sets the in-memory value, which will get persisted on
  store()whenImportConfig.saveAll()is called. | 
| void | store()Stores the current value back to some medium. | 
| java.lang.String | toString() | 
public T get()
public void set(T t)
store() when ImportConfig.saveAll() is called.t - the value to holdpublic java.lang.String toString()
toString in class java.lang.Objectpublic void store()
Properties are used, since this is most likely not a
 persistent store.public void load()
Properties argument, the PreferenceContext, the
 Preferences, the IniFileLoader, and finally the
 default value.public boolean empty()
protected abstract T fromString(java.lang.String string)