ch.claudio.contactdb
Enum Importer.HandleStatus

java.lang.Object
  extended by java.lang.Enum<Importer.HandleStatus>
      extended by ch.claudio.contactdb.Importer.HandleStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Importer.HandleStatus>
Enclosing interface:
Importer

public static enum Importer.HandleStatus
extends java.lang.Enum<Importer.HandleStatus>

Version:
$Id: Importer.java 32 2006-07-10 23:51:07Z $
Author:
Claudio Nieder

Enum Constant Summary
maybeFile
          The file can maybe be handled.
no
          This importer is not able to handle the directory or file.
someFiles
          Some of the files in the directory are recognized, but not all.
totally
          This importer can fully handle the directory or file.
 
Method Summary
static Importer.HandleStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Importer.HandleStatus[] 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

no

public static final Importer.HandleStatus no
This importer is not able to handle the directory or file.


totally

public static final Importer.HandleStatus totally
This importer can fully handle the directory or file.


someFiles

public static final Importer.HandleStatus someFiles
Some of the files in the directory are recognized, but not all.


maybeFile

public static final Importer.HandleStatus maybeFile
The file can maybe be handled.

Method Detail

values

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

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

valueOf

public static Importer.HandleStatus 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