Package org.apache.heron.spi.common
Class TokenSub
- java.lang.Object
-
- org.apache.heron.spi.common.TokenSub
-
public final class TokenSub extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
substitute(Config config, String pathString)
Given a static config map, substitute occurrences of ${HERON_*} variables in the provided path string
-
-
-
Method Detail
-
substitute
public static String substitute(Config config, String pathString)
Given a static config map, substitute occurrences of ${HERON_*} variables in the provided path string- Parameters:
config
- a static map config object of key value pairspathString
- string representing a path including ${HERON_*} variables- Returns:
- String string that represents the modified path
-
-