| Modifier and Type | Field and Description |
|---|---|
static Pattern |
PATTERN
Regular expression pattern to match a SURF handle .
|
static char |
SEGMENT_DELIMITER
The delimiter used to separate segments of a SURF handle.
|
| Constructor and Description |
|---|
Handle() |
| Modifier and Type | Method and Description |
|---|---|
static String |
checkArgumentValid(String string)
Confirms that the given string conforms to the rules for a SURF handle.
|
static boolean |
isBeginCharacter(int c)
Determines if the given character is valid to begin SURF handle.
|
static boolean |
isValid(String string)
Determines whether the given string conforms to the rules for a SURF handle.
|
public static final char SEGMENT_DELIMITER
public static final Pattern PATTERN
public static final boolean isBeginCharacter(int c)
c - The character to check.true if the character is a SURF handle begin character.SURF.Name.isTokenBeginCharacter(int)public static boolean isValid(String string)
string - The string to test.true if the string is a valid SURF handle.NullPointerException - if the given string is null.PATTERNpublic static String checkArgumentValid(String string)
string - The string to check.NullPointerException - if the given string is null.IllegalArgumentException - if the given string does not conform to the rules for a SURF handle.PATTERNCopyright © 2007–2017 GlobalMentor, Inc.. All rights reserved.