|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.acmsl.regexpplugin.jakartaregexp.HelperRegexpAdapter
Jakarta Regexp-specific regexp helper adapter.
| Field Summary | |
static org.acmsl.version.Version |
VERSION
Concrete version object updated everytime it's checked-in in a CVS repository. |
| Constructor Summary | |
HelperRegexpAdapter()
|
|
| Method Summary | |
static org.acmsl.version.Version |
getClassVersion()
Retrieves the current version of this class. |
org.acmsl.version.Version |
getVersion()
Retrieves the current version of this object. |
java.lang.String |
replaceAll(java.lang.String input,
java.lang.String pattern,
java.lang.String replacement)
Finds all occurrences of a specified pattern in given input contents, and replaces them with passed String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final org.acmsl.version.Version VERSION
| Constructor Detail |
public HelperRegexpAdapter()
| Method Detail |
public java.lang.String replaceAll(java.lang.String input,
java.lang.String pattern,
java.lang.String replacement)
throws MalformedPatternException
replaceAll in interface Helperinput - the input text to process.pattern - the pattern to replace.replacement - the replacement text.
MalformedPatternException - if given regexp is malformed.public org.acmsl.version.Version getVersion()
getVersion in interface org.acmsl.version.Versionablepublic static org.acmsl.version.Version getClassVersion()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||