Uses of Interface
org.syphr.prom.Translator

Uses of Translator in org.syphr.prom
 

Methods in org.syphr.prom that return Translator
static
<T extends Enum<T>>
Translator<T>
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
<T extends Enum<T> & Defaultable>
Properties
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
<T extends Enum<T> & Defaultable>
PropertiesManager<T>
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.
 



Copyright © 2010-2011 Gregory P. Moyer. All Rights Reserved.