edu.cmu.sun.model
Enum FileNodeModel.Filetype

java.lang.Object
  extended by java.lang.Enum<FileNodeModel.Filetype>
      extended by edu.cmu.sun.model.FileNodeModel.Filetype
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FileNodeModel.Filetype>
Enclosing class:
FileNodeModel

public static enum FileNodeModel.Filetype
extends java.lang.Enum<FileNodeModel.Filetype>


Enum Constant Summary
AUDIO
           
FOLDER
           
IMAGE
           
OTHER
           
TEXT
           
 
Method Summary
static FileNodeModel.Filetype valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FileNodeModel.Filetype[] 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

FOLDER

public static final FileNodeModel.Filetype FOLDER

OTHER

public static final FileNodeModel.Filetype OTHER

IMAGE

public static final FileNodeModel.Filetype IMAGE

TEXT

public static final FileNodeModel.Filetype TEXT

AUDIO

public static final FileNodeModel.Filetype AUDIO
Method Detail

values

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

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

valueOf

public static FileNodeModel.Filetype 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