@Taxonomy(stability=UNCOMMITTED) public final class PathnameConstants extends Object
Wildcarding is basic: a '*" means "0 or more characters" (a '*' is converted to '.*' for regex purposes).
Pathnames,
PathnameParser| Modifier and Type | Field and Description |
|---|---|
static String |
LEGAL_CHAR_FOR_NAME
The characters legal to use as a name.
|
static String |
LEGAL_CHAR_FOR_NAME_PATTERN
Regex pattern for one legal name character (in square braces).
|
static String |
LEGAL_CHAR_FOR_TYPE
The characters legal to use as the type portion of a pathname,
expressed as regex compatible string, but without enclosing square brackets.
|
static String |
LEGAL_CHAR_FOR_TYPE_PATTERN
Regex pattern for one legal character (in square braces).
|
static String |
LEGAL_NAME_PATTERN
regex pattern denoting a legal name
|
static String |
LEGAL_TYPE_PATTERN
regex pattern denoting a legal type, grouping () surrounding it
|
static String |
MATCH_ZERO_OR_MORE
Wildcard charcter, the '*' (not a regex expression).
|
static char |
SEPARATOR
delimiter between parts of a path
|
static char |
SUBSCRIPT_LEFT
subscript left character, subscripts must be a character pair for grammar reasons
|
static char |
SUBSCRIPT_RIGHT
subscript right character, subscripts must be a character pair for grammar reasons
|
public static final char SEPARATOR
public static final String MATCH_ZERO_OR_MORE
public static final char SUBSCRIPT_LEFT
public static final char SUBSCRIPT_RIGHT
public static final String LEGAL_CHAR_FOR_TYPE
public static final String LEGAL_CHAR_FOR_TYPE_PATTERN
public static final String LEGAL_TYPE_PATTERN
public static final String LEGAL_CHAR_FOR_NAME
SEPARATOR character. However, it may not include the right square brace, because
that character terminates a subscript.
JMX ObjectNames might have additional restrictions.public static final String LEGAL_CHAR_FOR_NAME_PATTERN
public static final String LEGAL_NAME_PATTERN
Copyright © 2017. All rights reserved.