|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Translator in org.syphr.prom |
---|
Methods in org.syphr.prom that return Translator | ||
---|---|---|
static
|
PropertiesManagers.getEnumTranslator(Class<T> enumType)
Get a simple translator to convert back and forth between Enums and property names (keys). |
|
static Translator<String> |
PropertiesManagers.getIdentityTranslator()
Create a translator that returns the string that it is given (no translation). |
|
Translator<T> |
PropertiesManager.getTranslator()
Retrieve the object that translates between key objects and property names. |
Methods in org.syphr.prom with parameters of type Translator | ||
---|---|---|
static
|
PropertiesManagers.getDefaultProperties(Class<T> keyType,
Translator<T> translator)
Retrieve a Properties instance that contains all of the default
values defined for the given Defaultable . |
|
static
|
PropertiesManagers.newManager(File file,
Class<T> keyType,
Translator<T> translator,
ExecutorService executor)
Build a new manager for the given properties file. |
Constructors in org.syphr.prom with parameters of type Translator | |
---|---|
PropertiesManager(File file,
Properties defaults,
Translator<T> translator,
Evaluator evaluator,
ExecutorService executor)
Construct a new manager for the given properties file. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |