| Package | com.smartfoxserver.v2.entities.match |
| Class | public class StringMatch |
| Inheritance | StringMatch Object |
| Implements | IMatcher |
See also
| Property | Defined By | ||
|---|---|---|---|
| symbol : String [read-only]
Returns the condition symbol of this matcher. | StringMatch | ||
| type : int [read-only]
Returns the type id of this matcher. | StringMatch | ||
| Constant | Defined By | ||
|---|---|---|---|
| CONTAINS : StringMatch [static]
An instance of StringMatch representing the following condition: string1.indexOf(string2) != -1. | StringMatch | ||
| ENDS_WITH : StringMatch [static]
An instance of StringMatch representing the following condition: string1 ends with characters contained in string2. | StringMatch | ||
| EQUALS : StringMatch [static]
An instance of StringMatch representing the following condition: string1 == string2. | StringMatch | ||
| NOT_EQUALS : StringMatch [static]
An instance of StringMatch representing the following condition: string1 != string2. | StringMatch | ||
| STARTS_WITH : StringMatch [static]
An instance of StringMatch representing the following condition: string1 starts with characters contained in string2. | StringMatch | ||
| symbol | property |
symbol:String [read-only] Returns the condition symbol of this matcher.
public function get symbol():String| type | property |
type:int [read-only] Returns the type id of this matcher.
public function get type():int| CONTAINS | Constant |
public static const CONTAINS:StringMatchAn instance of StringMatch representing the following condition: string1.indexOf(string2) != -1.
| ENDS_WITH | Constant |
public static const ENDS_WITH:StringMatchAn instance of StringMatch representing the following condition: string1 ends with characters contained in string2.
| EQUALS | Constant |
public static const EQUALS:StringMatchAn instance of StringMatch representing the following condition: string1 == string2.
| NOT_EQUALS | Constant |
public static const NOT_EQUALS:StringMatchAn instance of StringMatch representing the following condition: string1 != string2.
| STARTS_WITH | Constant |
public static const STARTS_WITH:StringMatchAn instance of StringMatch representing the following condition: string1 starts with characters contained in string2.