|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjeters.components.RegExReplacer.Replacement
public static class RegExReplacer.Replacement
a class that represents a single regex-pair together with other necessary information for performing replacements
Field Summary | |
---|---|
java.lang.String |
description
a string describing this replacement. |
int |
rating
a rating of this replacement's importance (possible values: 0, positive integers). |
java.lang.String |
regex
regular expression that will be replaced. |
java.lang.String |
rwith
the string the regex is replaced with. |
int |
times
how often the replaceAll-function is called for this replacement. |
Constructor Summary | |
---|---|
RegExReplacer.Replacement(int times,
java.lang.String regex,
java.lang.String rwith)
constructor that sets description to "" and rating to 0. |
|
RegExReplacer.Replacement(int times,
java.lang.String regex,
java.lang.String rwith,
int rating)
constructor that sets description to "". |
|
RegExReplacer.Replacement(int times,
java.lang.String regex,
java.lang.String rwith,
java.lang.String description)
constructor that sets rating to 0. |
|
RegExReplacer.Replacement(int times,
java.lang.String regex,
java.lang.String rwith,
java.lang.String description,
int rating)
constructor that has parameters for all attributes. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String regex
public java.lang.String rwith
public int times
public java.lang.String description
public int rating
Constructor Detail |
---|
public RegExReplacer.Replacement(int times, java.lang.String regex, java.lang.String rwith, java.lang.String description, int rating)
public RegExReplacer.Replacement(int times, java.lang.String regex, java.lang.String rwith)
public RegExReplacer.Replacement(int times, java.lang.String regex, java.lang.String rwith, int rating)
public RegExReplacer.Replacement(int times, java.lang.String regex, java.lang.String rwith, java.lang.String description)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |