Package hec.gfx2d.text
Class TextSubstitutionManager
java.lang.Object
hec.gfx2d.text.TextSubstitutionManager
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddTokenReplacer(TokenReplacer tokenReplacer) static TextSubstitutionManagerbooleanhasTokenReplacer(TokenReplacer tokenReplacer) booleanhasTokenReplacer(Class<? extends TokenReplacer> clazz) replaceTokens(String tokenString, Object... args)
-
Method Details
-
getTextSubstitutionManager
-
addTokenReplacer
-
hasTokenReplacer
- Parameters:
tokenReplacer- A specific token replacer- Returns:
- True if the Substitution Manager has the specific instance of the Token Replacer
-
hasTokenReplacer
- Parameters:
clazz- A class implementing TokenReplacer- Returns:
- True if the Substitution Manager has any Token Replacer that is specifically the class passed in. Does not test for inheritance.
-
replaceTokens
-