|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReplacementTextStrategy
This interface is implemented by classes that can be used to replace text.
Implementations should not contain any mutable internal state since object instances may be used several times, possibly simultaneously by different threads.
Method Summary | |
---|---|
String |
getReplace(String text,
Matcher m)
Get the replacement text for the supplied text. |
Method Detail |
---|
String getReplace(String text, Matcher m)
text
- The text.m
- The Matcher
that matches the current text. This object
can only be read from. Its state must not be updated.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |