|
RSE Release 3.2 |
|||||||||
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 java.lang.String |
FILE_NAMES_SEP_STRING
|
Method Summary | |
---|---|
static SystemSearchUtil |
getInstance()
Gets the singleton instance of the class. |
boolean |
isValidRegex(java.lang.String regexString)
Check whether a regex string is valid. |
java.lang.String |
typesIterToString(java.util.Iterator iter)
Convert iterator of types to string. |
java.lang.String |
typesListToString(java.util.List types)
Convert list of types to string. |
java.lang.String |
typesSetToString(java.util.Set types)
Convert set of types to string. |
java.util.List |
typesStringToList(java.lang.String fileNamesString)
Returns the file names from the given file names string. |
java.util.Set |
typesStringToSet(java.lang.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 java.lang.String FILE_NAMES_SEP_STRING
Method Detail |
---|
public static SystemSearchUtil getInstance()
public boolean isValidRegex(java.lang.String regexString)
regexString
- the regex string.
true
if the regex string is valid, false
otherwise.public java.util.Set typesStringToSet(java.lang.String fileNamesString)
fileNamesString
- the file names string.
java.lang.NullPointerException
- if the file names string is null
.public java.util.List typesStringToList(java.lang.String fileNamesString)
fileNamesString
- the file names string.
java.lang.NullPointerException
- if the file names string is null
.public java.lang.String typesListToString(java.util.List types)
types
- the list of types.
public java.lang.String typesSetToString(java.util.Set types)
types
- the set of types.
public java.lang.String typesIterToString(java.util.Iterator iter)
iter
- iterator for types.
|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |