Package net.sf.okapi.steps.tradosutils
Class ParametersSearchAndReplaceWord
- java.lang.Object
-
- net.sf.okapi.common.BaseParameters
-
- net.sf.okapi.common.StringParameters
-
- net.sf.okapi.steps.tradosutils.ParametersSearchAndReplaceWord
-
- All Implemented Interfaces:
Cloneable,IParameters
public class ParametersSearchAndReplaceWord extends StringParameters
-
-
Field Summary
Fields Modifier and Type Field Description ArrayList<String[]>rules-
Fields inherited from class net.sf.okapi.common.StringParameters
buffer
-
Fields inherited from class net.sf.okapi.common.BaseParameters
path
-
-
Constructor Summary
Constructors Constructor Description ParametersSearchAndReplaceWord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRule(String[] pattern)voidfromString(String data)booleangetMatchCase()booleangetRegEx()booleangetReplaceAll()ArrayList<String[]>getRules()booleangetWholeWord()voidreset()voidsetMatchCase(boolean matchCase)voidsetRegEx(boolean regEx)voidsetReplaceAll(boolean replaceALL)voidsetWholeWord(boolean wholeWord)StringtoString()-
Methods inherited from class net.sf.okapi.common.StringParameters
fromString, getBoolean, getGroup, getInteger, getString, setBoolean, setGroup, setInteger, setString
-
Methods inherited from class net.sf.okapi.common.BaseParameters
getParametersDescription, getPath, load, load, save, setPath
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.okapi.common.IParameters
copy
-
-
-
-
Method Detail
-
getRegEx
public boolean getRegEx()
-
setRegEx
public void setRegEx(boolean regEx)
-
getWholeWord
public boolean getWholeWord()
-
setWholeWord
public void setWholeWord(boolean wholeWord)
-
getMatchCase
public boolean getMatchCase()
-
setMatchCase
public void setMatchCase(boolean matchCase)
-
getReplaceAll
public boolean getReplaceAll()
-
setReplaceAll
public void setReplaceAll(boolean replaceALL)
-
reset
public void reset()
- Specified by:
resetin interfaceIParameters- Overrides:
resetin classStringParameters
-
addRule
public void addRule(String[] pattern)
-
fromString
public void fromString(String data)
- Specified by:
fromStringin interfaceIParameters- Overrides:
fromStringin classStringParameters
-
toString
public String toString()
- Specified by:
toStringin interfaceIParameters- Overrides:
toStringin classStringParameters
-
-