schmitzm.io
Enum IOUtil.FilterMode

java.lang.Object
  extended by java.lang.Enum<IOUtil.FilterMode>
      extended by schmitzm.io.IOUtil.FilterMode
All Implemented Interfaces:
Serializable, Comparable<IOUtil.FilterMode>
Enclosing class:
IOUtil

public static enum IOUtil.FilterMode
extends Enum<IOUtil.FilterMode>

Modi fuer Filter.

Author:
mojays
See Also:
IOUtil.createSimpleFileFilter(String, FilterMode), IOUtil.createRegExFileFilter(String, FilterMode)

Enum Constant Summary
ALL
          Der Filter liefert Dateien und Verzeichnisse.
DIR_ONLY
          Der Filter liefert nur Verzeichnisse, aber keine Dateien.
FILES_ONLY
          Der Filter liefert nur Dateien, aber keine Verzeichnisse.
 
Method Summary
static IOUtil.FilterMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IOUtil.FilterMode[] 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

FILES_ONLY

public static final IOUtil.FilterMode FILES_ONLY
Der Filter liefert nur Dateien, aber keine Verzeichnisse.


DIR_ONLY

public static final IOUtil.FilterMode DIR_ONLY
Der Filter liefert nur Verzeichnisse, aber keine Dateien.


ALL

public static final IOUtil.FilterMode ALL
Der Filter liefert Dateien und Verzeichnisse.

Method Detail

values

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

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

valueOf

public static IOUtil.FilterMode valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null