net.sourceforge.atunes.kernel.handlers
Enum RepositoryHandler.SortType

java.lang.Object
  extended by java.lang.Enum<RepositoryHandler.SortType>
      extended by net.sourceforge.atunes.kernel.handlers.RepositoryHandler.SortType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RepositoryHandler.SortType>
Enclosing class:
RepositoryHandler

public static enum RepositoryHandler.SortType
extends java.lang.Enum<RepositoryHandler.SortType>

The Enum SortType.


Enum Constant Summary
BY_FILE
          The B y_ file.
BY_MODIFICATION_TIME
          The B y_ modificatio n_ time.
BY_TITLE
          The B y_ title.
BY_TRACK
          The B y_ track.
 
Method Summary
static RepositoryHandler.SortType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RepositoryHandler.SortType[] 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

BY_TRACK

public static final RepositoryHandler.SortType BY_TRACK
The B y_ track.


BY_TITLE

public static final RepositoryHandler.SortType BY_TITLE
The B y_ title.


BY_FILE

public static final RepositoryHandler.SortType BY_FILE
The B y_ file.


BY_MODIFICATION_TIME

public static final RepositoryHandler.SortType BY_MODIFICATION_TIME
The B y_ modificatio n_ time.

Method Detail

values

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

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

valueOf

public static RepositoryHandler.SortType 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


Copyright © 2006-2008 The aTunes Team. All Rights Reserved.