|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jeters.components.RegExReplacer.Replacement
net.sf.jeters.components.RegExReplacer.CustomReplacement
public abstract static class RegExReplacer.CustomReplacement
a class that represents a single replacement which is not based on regex, but on a custom method
Field Summary |
---|
Fields inherited from class net.sf.jeters.components.RegExReplacer.Replacement |
---|
description, rating |
Constructor Summary | |
---|---|
RegExReplacer.CustomReplacement()
constructor that sets description to "" and rating to 0. |
|
RegExReplacer.CustomReplacement(int rating)
constructor that sets description to "". |
|
RegExReplacer.CustomReplacement(java.lang.String description)
constructor that sets rating to 0. |
|
RegExReplacer.CustomReplacement(java.lang.String description,
int rating)
constructor that has parameters for all attributes. |
Method Summary | |
---|---|
abstract java.lang.String |
apply(java.lang.String s)
the method containing the replacement's functionality |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegExReplacer.CustomReplacement(java.lang.String description, int rating)
public RegExReplacer.CustomReplacement()
public RegExReplacer.CustomReplacement(int rating)
public RegExReplacer.CustomReplacement(java.lang.String description)
Method Detail |
---|
public abstract java.lang.String apply(java.lang.String s)
s
- the string this replacement will be applied on
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |