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.getDefaultTranslator(Class<T> enumType)
          Get the default translator to convert back and forth between Enums and property names (keys).
 Translator<T> PropertiesManager.getTranslator()
          Retrieve the object that translates between Enum instances and property names (keys).
 

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 Gregory P. Moyer. All Rights Reserved.