public class RegExpPatterns
extends java.lang.Object
Example: // Checks if the id is compliant to the ClassName // regular expression Assertion.paramCheck.validate( id.trim().matches(RegExpPatterns.REClassName), new ParamException ("invalid format " + id));
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ObjectName
The object (variable) names are assumed to start with a character
followed by any alpha-numeric symbol.
|
static java.lang.String |
REClassName
Regular expression for class names in the form:
|
static java.lang.String |
REFileName
Convention on the file names.
|
Constructor and Description |
---|
RegExpPatterns() |
public static final java.lang.String ObjectName
public static final java.lang.String REClassName
package.subpackage.ClassName
public static final java.lang.String REFileName
folder/subfolder/file.ext