console
Enum AnsiEscapeParser.Behaviour

java.lang.Object
  extended by java.lang.Enum<AnsiEscapeParser.Behaviour>
      extended by console.AnsiEscapeParser.Behaviour
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AnsiEscapeParser.Behaviour>
Enclosing class:
AnsiEscapeParser

public static enum AnsiEscapeParser.Behaviour
extends java.lang.Enum<AnsiEscapeParser.Behaviour>

Behaviour class describes parser's behaviour


Enum Constant Summary
IGNORE_ALL
          parser ignores any sequencies
PARSE
          parser processes sequencies
REMOVE_ALL
          parser removes any sequencies from input string
 
Method Summary
static AnsiEscapeParser.Behaviour valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AnsiEscapeParser.Behaviour[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

IGNORE_ALL

public static final AnsiEscapeParser.Behaviour IGNORE_ALL
parser ignores any sequencies


REMOVE_ALL

public static final AnsiEscapeParser.Behaviour REMOVE_ALL
parser removes any sequencies from input string


PARSE

public static final AnsiEscapeParser.Behaviour PARSE
parser processes sequencies

Method Detail

values

public static AnsiEscapeParser.Behaviour[] 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 (AnsiEscapeParser.Behaviour c : AnsiEscapeParser.Behaviour.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AnsiEscapeParser.Behaviour valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null