org.hd.d.pg2k.webSvr.util
Enum CDNUtils.CDN_ENC_TYPE

java.lang.Object
  extended by java.lang.Enum<CDNUtils.CDN_ENC_TYPE>
      extended by org.hd.d.pg2k.webSvr.util.CDNUtils.CDN_ENC_TYPE
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CDNUtils.CDN_ENC_TYPE>
Enclosing class:
CDNUtils

public static enum CDNUtils.CDN_ENC_TYPE
extends java.lang.Enum<CDNUtils.CDN_ENC_TYPE>

Encodings of CDN URL available.


Enum Constant Summary
EXHIBITMD5
          CDN URL is supplied prefix, plus exhibit's MD5 hash in hex, plus exhibit's file extension.
 
Method Summary
static CDNUtils.CDN_ENC_TYPE valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CDNUtils.CDN_ENC_TYPE[] 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

EXHIBITMD5

public static final CDNUtils.CDN_ENC_TYPE EXHIBITMD5
CDN URL is supplied prefix, plus exhibit's MD5 hash in hex, plus exhibit's file extension. This assumes that the thumbnail has the same MIME type as the exhibit.

Method Detail

values

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

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

valueOf

public static CDNUtils.CDN_ENC_TYPE 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

DHD Multimedia Gallery V1.60.69

Copyright (c) 1996-2012, Damon Hart-Davis. All rights reserved.