org.clapper.curn
Enum CurnUtil.IndexMarker
java.lang.Object
java.lang.Enum<CurnUtil.IndexMarker>
org.clapper.curn.CurnUtil.IndexMarker
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<CurnUtil.IndexMarker>
- Enclosing class:
- CurnUtil
public static enum CurnUtil.IndexMarker
- extends java.lang.Enum<CurnUtil.IndexMarker>
Constants defining where rolled file indicators should go in the
file name pattern.
|
Method Summary |
static CurnUtil.IndexMarker |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CurnUtil.IndexMarker[] |
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 |
BEFORE_EXTENSION
public static final CurnUtil.IndexMarker BEFORE_EXTENSION
AFTER_EXTENSION
public static final CurnUtil.IndexMarker AFTER_EXTENSION
values
public static final CurnUtil.IndexMarker[] 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(CurnUtil.IndexMarker c : CurnUtil.IndexMarker.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CurnUtil.IndexMarker 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
Copyright © 2004-2006 Brian M. Clapper. All Rights Reserved.