|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.scheisseichfindemalkeinen.settings.options.RegexReplaceRegExp
public class RegexReplaceRegExp
Search and Replace by Regexp
| Constructor Summary | |
|---|---|
RegexReplaceRegExp()
Constructor |
|
RegexReplaceRegExp(org.jdom.Element e)
Constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
doReplace(java.lang.String input)
Replace-Method |
int |
getRegexFlags()
Returns the regexFlags |
java.lang.String |
getReplace()
Returns the Replace-String |
java.lang.String |
getSearch()
Returns the Search-String |
boolean |
getStatusOK()
Returns if the status of the object is ok |
org.jdom.Element |
getXmlElement()
Returns the Element for creating the XML-File |
void |
setRegexFlags(int regexFlags)
Sets the regexFlags If the a PatternSyntaxException occurs no flags are set! |
void |
setReplace(java.lang.String replace)
Sets the Replace-String |
void |
setSearch(java.lang.String search)
Sets the Search-String and try to compile the Pattern |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RegexReplaceRegExp()
public RegexReplaceRegExp(org.jdom.Element e)
e - Element| Method Detail |
|---|
public boolean getStatusOK()
public java.lang.String doReplace(java.lang.String input)
input - Input
public org.jdom.Element getXmlElement()
public java.lang.String getSearch()
public void setSearch(java.lang.String search)
throws java.util.regex.PatternSyntaxException
search - Search-String
java.util.regex.PatternSyntaxExceptionpublic java.lang.String getReplace()
public void setReplace(java.lang.String replace)
replace - Replace-Stringpublic int getRegexFlags()
public void setRegexFlags(int regexFlags)
regexFlags - regexFlags
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||