Package | Description |
---|---|
com.j256.simplemagic.types |
Various types which do the pattern matching.
|
Modifier and Type | Field and Description |
---|---|
static StringOperator |
StringOperator.DEFAULT_OPERATOR
Default operator which should be used if
fromTest(String) returns null; |
Modifier and Type | Method and Description |
---|---|
static StringOperator |
StringOperator.fromTest(String testStr)
Returns the operator if the first character is an operator.
|
static StringOperator |
StringOperator.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringOperator[] |
StringOperator.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
TestInfo(StringOperator operator,
String pattern,
boolean compactWhiteSpace,
boolean optionalWhiteSpace,
boolean caseInsensitive,
int maxOffset) |
This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.