edu.wisc.trace.urcsdk.base
Enum Constants.ResourceType
java.lang.Object
java.lang.Enum<Constants.ResourceType>
edu.wisc.trace.urcsdk.base.Constants.ResourceType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Constants.ResourceType>
- Enclosing class:
- Constants
public static enum Constants.ResourceType
- extends java.lang.Enum<Constants.ResourceType>
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Image
public static final Constants.ResourceType Image
Text
public static final Constants.ResourceType Text
Unknown
public static final Constants.ResourceType Unknown
values
public static final Constants.ResourceType[] 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(Constants.ResourceType c : Constants.ResourceType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Constants.ResourceType 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
getTypeOf
public static Constants.ResourceType getTypeOf(java.lang.String s)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Enum<Constants.ResourceType>
Copyright © 2006 Trace R&D Center, University of Wisconsin-Madison. All Rights Reserved.