|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
ReplacementTextStrategy | This interface is implemented by classes that can be used to replace text. |
Class Summary | |
---|---|
CapturingGroupAwareStringTextStrategy | Replacer that use a constant string for replacement. |
ClosureReplacementTextStrategy | This ReplacementTextStrategy uses a closure to get the replacement
text. |
PatternAndStrategy | Value object that keeps a regexp Pattern together with a
ReplacementTextStrategy . |
PropertyValueTextStrategy | This ReplacementTextStrategy takes the text captured by the
n:th capturing group and uses it as a key for looking up a property
value in a supplied Properties object. |
ScriptTextStrategy | Deprecated. Since Schmant 1.1. |
StringTextStrategy | This ReplacementTextStrategy replaces the matched text with a constant
string value. |
TextReplacer | The text replacer uses one or several PatternAndStrategy objects to
replace text in a text file. |
Exception Summary | |
---|---|
ReplaceNotFoundException | This exception is thrown by the TextReplacer if text to replace is
not found. |
Support object for working with text.
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |