org.forester.util
Enum ForesterConstants.PhylogeneticTreeFormats

java.lang.Object
  extended by java.lang.Enum<ForesterConstants.PhylogeneticTreeFormats>
      extended by org.forester.util.ForesterConstants.PhylogeneticTreeFormats
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ForesterConstants.PhylogeneticTreeFormats>
Enclosing class:
ForesterConstants

public static enum ForesterConstants.PhylogeneticTreeFormats
extends java.lang.Enum<ForesterConstants.PhylogeneticTreeFormats>


Enum Constant Summary
NEXUS
           
NH
           
NHX
           
PHYLOXML
           
 
Method Summary
static ForesterConstants.PhylogeneticTreeFormats valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ForesterConstants.PhylogeneticTreeFormats[] 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

NH

public static final ForesterConstants.PhylogeneticTreeFormats NH

NHX

public static final ForesterConstants.PhylogeneticTreeFormats NHX

NEXUS

public static final ForesterConstants.PhylogeneticTreeFormats NEXUS

PHYLOXML

public static final ForesterConstants.PhylogeneticTreeFormats PHYLOXML
Method Detail

values

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

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

valueOf

public static ForesterConstants.PhylogeneticTreeFormats 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