public class REUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
VALID_CHARS_IN_FILENAME
Regular expression class for the valid characters in a filename.
|
static String |
VALID_EMAIL |
static String |
VALID_PHONE |
static String |
WILDCARD_ASTERISK
Constant for the wildcard asterisk "*".
|
static String |
WILDCARD_MANYCHARS_RE
Regular expression for many characters in the filename.
|
static String |
WILDCARD_ONECHAR_RE
Regular expression for exactly on character in the filename.
|
static String |
WILDCARD_QUESTION_MARK
Constant for the wildcard interrogation mark "?".
|
| Constructor and Description |
|---|
REUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
replaceWildcardsWithRE(String queryString)
Replaces the normal wildcards in the given String with the corresponding regular expression
wildcards.
|
static String |
wildcardCriterionSQL(String query)
Replaces the query with the wildcards asterisk "*" and interrogation mark "?"
|
public static final String WILDCARD_ASTERISK
public static final String WILDCARD_QUESTION_MARK
public static final String VALID_CHARS_IN_FILENAME
public static final String WILDCARD_ONECHAR_RE
public static final String WILDCARD_MANYCHARS_RE
public static final String VALID_EMAIL
public static final String VALID_PHONE
public static String replaceWildcardsWithRE(String queryString)
queryString - The String to format.public static String wildcardCriterionSQL(String query)
query - The String to replace the wildcards.Copyright © 2007–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.