|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.rse.services.clientserver.search.SystemSearchUtil
public class SystemSearchUtil
A utility class useful for search. It is a singleton.
Field Summary | |
---|---|
static String |
FILE_NAMES_SEP_STRING
|
Method Summary | |
---|---|
static SystemSearchUtil |
getInstance()
Gets the singleton instance of the class. |
boolean |
isValidRegex(String regexString)
Check whether a regex string is valid. |
String |
typesIterToString(Iterator iter)
Convert iterator of types to string. |
String |
typesListToString(List types)
Convert list of types to string. |
String |
typesSetToString(Set types)
Convert set of types to string. |
List |
typesStringToList(String fileNamesString)
Returns the file names from the given file names string. |
Set |
typesStringToSet(String fileNamesString)
Returns the file names from the given file names string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String FILE_NAMES_SEP_STRING
Method Detail |
---|
public static SystemSearchUtil getInstance()
public boolean isValidRegex(String regexString)
regexString
- the regex string.
true
if the regex string is valid, false
otherwise.public Set typesStringToSet(String fileNamesString)
fileNamesString
- the file names string.
NullPointerException
- if the file names string is null
.public List typesStringToList(String fileNamesString)
fileNamesString
- the file names string.
NullPointerException
- if the file names string is null
.public String typesListToString(List types)
types
- the list of types.
public String typesSetToString(Set types)
types
- the set of types.
public String typesIterToString(Iterator iter)
iter
- iterator for types.
|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |