public class SyntaxUtilities
extends java.lang.Object
| Constructor | Description |
|---|---|
SyntaxUtilities() |
| Modifier and Type | Method | Description |
|---|---|---|
static boolean |
regionMatches(boolean ignoreCase,
javax.swing.text.Segment text,
int offset,
char[] match) |
Checks if a subregion of a
Segment is equal to a
character array. |
public static boolean regionMatches(boolean ignoreCase,
javax.swing.text.Segment text,
int offset,
char[] match)
Segment is equal to a
character array.ignoreCase - True if case should be ignored, false otherwisetext - The segmentoffset - The offset into the segmentmatch - The character array to match