@MinDoc(copyright="Copyright 2003, 2009 A. Weinert", author="Albrecht Weinert", version="see enclosing class TextHelper", lastModified="see enclosing class TextHelper", lastModifiedBy="see enclosing class TextHelper", usage="import", purpose="visitor pattern for text find and replace") public static interface TextHelper.ReplaceVisitor
FuR
, SVNkeys
and SVNkeysFilter
make ample use of this pattern
and this interface.TextHelper.fUr(CharSequence, StringBuilder, CharSequence, CharSequence, boolean)
Modifier and Type | Method and Description |
---|---|
String |
visit(String opBr,
String cont,
String clBr)
Evaluate the replacement text.
|
String visit(String opBr, String cont, String clBr)
cont
, should be non null.con3cat
(opBr,
cont, clBr);ComVar
.EMPTY_STRING
;opBr
- opening bracecont
- contentclBr
- closing braceTextHelper.con3cat(CharSequence, CharSequence, CharSequence)