Class Configurator

java.lang.Object
com.airhacks.afterburner.configuration.Configurator

public class Configurator extends Object
Author:
airhacks.com
  • Field Details

  • Constructor Details

    • Configurator

      public Configurator()
  • Method Details

    • set

      public Configurator set(Function<Object,Object> custom)
    • setLogger

      public Configurator setLogger(Consumer<String> log)
    • getProperty

      public Object getProperty(Class<?> clazz, Object key)
      Parameters:
      clazz - is used to locate the properties @see java.lang.Class#getResourceAsStream
      key - to be resolved
      Returns:
      the resolved value.
    • forgetAll

      public void forgetAll()