public enum CaptureType extends Enum<CaptureType>
| Modifier and Type | Method and Description |
|---|---|
char |
getBegin() |
char |
getEnd() |
static CaptureType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CaptureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CaptureType BRACE
public static final CaptureType BRACKET
public static final CaptureType PAREN
public static final CaptureType REGEX
public static CaptureType[] values()
for (CaptureType c : CaptureType.values()) System.out.println(c);
public static CaptureType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic char getBegin()
public char getEnd()
Copyright © 2016 OCPsoft. All rights reserved.