public final class SearchMatchReplacers extends HashSet
Modifier and Type | Method and Description |
---|---|
boolean |
add(com.ibm.rational.common.test.editor.framework.kernel.search.ISearchMatchTextReplacer r) |
boolean |
add(Object o) |
boolean |
addAll(Collection c) |
static SearchMatchReplacers |
getInstance() |
static com.ibm.rational.common.test.editor.framework.kernel.search.ISearchMatchTextReplacer |
getReplacerFor(com.ibm.rational.common.test.editor.framework.kernel.search.FieldMatch fm) |
static String |
replace(String text,
String replText,
com.ibm.rational.common.test.editor.framework.kernel.search.FieldMatch fmatch,
String original) |
static int |
replaceInt(String text,
String replText,
com.ibm.rational.common.test.editor.framework.kernel.search.FieldMatch fmatch,
String original) |
static boolean |
textMatchWithCase(String text,
com.ibm.rational.common.test.editor.framework.kernel.search.FieldMatch fmatch,
String original,
int start,
int len) |
clear, clone, contains, isEmpty, iterator, remove, size
equals, hashCode, removeAll
containsAll, retainAll, toArray, toArray, toString
public static SearchMatchReplacers getInstance()
public boolean add(com.ibm.rational.common.test.editor.framework.kernel.search.ISearchMatchTextReplacer r)
public boolean add(Object o)
public boolean addAll(Collection c)
addAll
in interface Collection
addAll
in interface Set
addAll
in class AbstractCollection
public static String replace(String text, String replText, com.ibm.rational.common.test.editor.framework.kernel.search.FieldMatch fmatch, String original) throws IllegalStateException
text
- replText
- fmatch
- original
- IllegalStateException
public static boolean textMatchWithCase(String text, com.ibm.rational.common.test.editor.framework.kernel.search.FieldMatch fmatch, String original, int start, int len)
public static com.ibm.rational.common.test.editor.framework.kernel.search.ISearchMatchTextReplacer getReplacerFor(com.ibm.rational.common.test.editor.framework.kernel.search.FieldMatch fm)
fm
- public static int replaceInt(String text, String replText, com.ibm.rational.common.test.editor.framework.kernel.search.FieldMatch fmatch, String original) throws IllegalStateException
text
- replText
- fmatch
- IllegalStateException
© Copyright IBM Corp. 2013. All rights reserved.