edu.cornell.cs.sam.io
Enum SamTokenizer.TokenizerOptions

java.lang.Object
  extended by java.lang.Enum<SamTokenizer.TokenizerOptions>
      extended by edu.cornell.cs.sam.io.SamTokenizer.TokenizerOptions
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SamTokenizer.TokenizerOptions>
Enclosing class:
SamTokenizer

public static enum SamTokenizer.TokenizerOptions
extends java.lang.Enum<SamTokenizer.TokenizerOptions>


Enum Constant Summary
PROCESS_CHARACTERS
           
PROCESS_COMMENTS
           
PROCESS_STRINGS
           
 
Method Summary
static SamTokenizer.TokenizerOptions valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SamTokenizer.TokenizerOptions[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PROCESS_COMMENTS

public static final SamTokenizer.TokenizerOptions PROCESS_COMMENTS

PROCESS_STRINGS

public static final SamTokenizer.TokenizerOptions PROCESS_STRINGS

PROCESS_CHARACTERS

public static final SamTokenizer.TokenizerOptions PROCESS_CHARACTERS
Method Detail

values

public static final SamTokenizer.TokenizerOptions[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(SamTokenizer.TokenizerOptions c : SamTokenizer.TokenizerOptions.values())
        System.out.println(c);

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

valueOf

public static SamTokenizer.TokenizerOptions 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