com.ibm.portal.resourceaggregator.combiner
Enum Resource.URIType

java.lang.Object
  extended by java.lang.Enum<Resource.URIType>
      extended by com.ibm.portal.resourceaggregator.combiner.Resource.URIType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Resource.URIType>
Enclosing interface:
Resource

public static enum Resource.URIType
extends java.lang.Enum<Resource.URIType>

Defines the URI type


Enum Constant Summary
DEBUG
          uncompressed resource used for debugging
DEFAULT
          Default URI type
RTL
          right-to-left resource
 
Method Summary
static Resource.URIType fromString(java.lang.String type)
          Deserializes a string into an URIType object
 java.lang.String toString()
          Return the URI type string representation
static Resource.URIType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Resource.URIType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DEFAULT

public static final Resource.URIType DEFAULT
Default URI type


DEBUG

public static final Resource.URIType DEBUG
uncompressed resource used for debugging


RTL

public static final Resource.URIType RTL
right-to-left resource

Method Detail

values

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

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

valueOf

public static Resource.URIType 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

toString

public java.lang.String toString()
Return the URI type string representation

Overrides:
toString in class java.lang.Enum<Resource.URIType>

fromString

public static Resource.URIType fromString(java.lang.String type)
Deserializes a string into an URIType object

Parameters:
type - the string to be deserialized
Returns:
a valid URI type