Class InterpolationHelper


  • public final class InterpolationHelper
    extends java.lang.Object
    Interpolation. Borrowed and adapted from Apache Felix Utils module.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String substVars​(java.lang.String val, java.util.function.Function<java.lang.String,​java.lang.String> callback, boolean defaultsToEmptyString)  
      • Methods inherited from class java.lang.Object

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

      • substVars

        public static java.lang.String substVars​(java.lang.String val,
                                                 java.util.function.Function<java.lang.String,​java.lang.String> callback,
                                                 boolean defaultsToEmptyString)
                                          throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException