|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.extensions.jfcunit.tools.Operator.Operation
Operations for comparing strings.
Title: class Operator.Operations
Description: Operation are specified in the Operator.evaluate() method.
Copyright: Copyright (c) 2004
Company: JFCUnit OpenSource project.
Field Summary | |
private static java.lang.String[] |
CODE_STRINGS
String so for the OP codes. |
static int |
CONTAINS
Check that the value is contained. |
static int |
ENDSWITH
Check that the value ends with the given value. |
static int |
EQUALS
Check that the values are equal. |
static int |
MATCH
Match the item using a Regular expression. |
static int |
STARTSWITH
Check that the value starts with the given value. |
Constructor Summary | |
private |
Operator.Operation()
Private constructor. |
Method Summary | |
static int |
getOperation(java.lang.String code)
Convert the String to a Operation code. |
static java.lang.String |
toString(int code)
Get the string version of the operation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String[] CODE_STRINGS
public static final int MATCH
public static final int STARTSWITH
public static final int ENDSWITH
public static final int EQUALS
public static final int CONTAINS
Constructor Detail |
private Operator.Operation()
Method Detail |
public static int getOperation(java.lang.String code)
code
- String version of the Operation.
public static java.lang.String toString(int code)
code
- int Finder.OP_code
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |