Class ConfigUtils


  • public class ConfigUtils
    extends java.lang.Object
    Various utilities related to Config.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static cz.o2.proxima.typesafe.config.Config withStorageReplacement​(cz.o2.proxima.typesafe.config.Config config, UnaryPredicate<java.lang.String> familyFilter, UnaryFunction<java.lang.String,​java.net.URI> storageReplacement)
      Create new Config from given one with storages of selected attribute families replaced by given URI.
      • Methods inherited from class java.lang.Object

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

      • withStorageReplacement

        public static cz.o2.proxima.typesafe.config.Config withStorageReplacement​(cz.o2.proxima.typesafe.config.Config config,
                                                                                  UnaryPredicate<java.lang.String> familyFilter,
                                                                                  UnaryFunction<java.lang.String,​java.net.URI> storageReplacement)
        Create new Config from given one with storages of selected attribute families replaced by given URI.
        Parameters:
        config - input Config to modify
        familyFilter - filter of family names to modify
        storageReplacement - function for replacement of URIs
        Returns:
        Config