org.crsh.cmdline.matcher.tokenizer
Enum Termination
java.lang.Object
java.lang.Enum<Termination>
org.crsh.cmdline.matcher.tokenizer.Termination
- All Implemented Interfaces:
- Serializable, Comparable<Termination>
public enum Termination
- extends Enum<Termination>
- Version:
- $Revision$
- Author:
- Julien Viet
DETERMINED
public static final Termination DETERMINED
SINGLE_QUOTE
public static final Termination SINGLE_QUOTE
DOUBLE_QUOTE
public static final Termination DOUBLE_QUOTE
end
private final String end
- .
values
public static Termination[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Termination c : Termination.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Termination valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getEnd
public String getEnd()
Copyright © 2012 eXo Platform SAS. All Rights Reserved.