Class TemplateKt

  • All Implemented Interfaces:

    
    public final class TemplateKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Map<String, Object> replaceValues(Map<String, Object> $self, Map<String, Object> templates) Replaces all template values denoted with ${key} in a map with the corresponding values from the templates map.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • replaceValues

         final static Map<String, Object> replaceValues(Map<String, Object> $self, Map<String, Object> templates)

        Replaces all template values denoted with ${key} in a map with the corresponding values from the templates map.

        Parameters:
        templates - a map of template values
        Returns:

        a new map with all template values replaced