Class PropertiesUtil.PrefixAdder

  • All Implemented Interfaces:
    PropertiesUtil.Adder
    Enclosing class:
    PropertiesUtil

    public static class PropertiesUtil.PrefixAdder
    extends java.lang.Object
    implements PropertiesUtil.Adder
    A Adder that adds new properties to the input Properties object using a given prefix to prepend to the name of all new properties.
    • Constructor Summary

      Constructors 
      Constructor Description
      PrefixAdder​(java.util.Properties props, java.lang.String prefix)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addProperties​(java.util.Properties properties)
      Add all the input Properties.
      void addProperty​(java.lang.String name, java.lang.String value)
      Add a property.
      PropertiesUtil.Adder withPrefix​(java.lang.String prefix)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PrefixAdder

        public PrefixAdder​(java.util.Properties props,
                           java.lang.String prefix)