com.tenduke.services.multimedia.http
Enum EntryUrlFormatter.EntryMediaType

java.lang.Object
  extended by java.lang.Enum<EntryUrlFormatter.EntryMediaType>
      extended by com.tenduke.services.multimedia.http.EntryUrlFormatter.EntryMediaType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EntryUrlFormatter.EntryMediaType>
Enclosing class:
EntryUrlFormatter

public static enum EntryUrlFormatter.EntryMediaType
extends java.lang.Enum<EntryUrlFormatter.EntryMediaType>

Constants for identification of built in default entry media types.


Enum Constant Summary
DEFAULT_IMAGE
          Generated default size image (applicable for ImageEntries only).
FLV
          Default transcoded flv (applicable for VideoEntries only).
MP3
          Generated default mp3 audio (applicable for AudioEntries only).
MP4
          MP4 container (applicable for VideoEntries only).
ORIGINAL_MEDIA
          Original uploaded media.
SCREENSHOT
          Generated default screenshot image (applicable for VideoEntries only).
THUMBNAIL
          Generated default thumbnail image (applicable for VideoEntries and ImageEntries).
 
Method Summary
static EntryUrlFormatter.EntryMediaType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EntryUrlFormatter.EntryMediaType[] 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

DEFAULT_IMAGE

public static final EntryUrlFormatter.EntryMediaType DEFAULT_IMAGE
Generated default size image (applicable for ImageEntries only).


FLV

public static final EntryUrlFormatter.EntryMediaType FLV
Default transcoded flv (applicable for VideoEntries only).


MP3

public static final EntryUrlFormatter.EntryMediaType MP3
Generated default mp3 audio (applicable for AudioEntries only).


MP4

public static final EntryUrlFormatter.EntryMediaType MP4
MP4 container (applicable for VideoEntries only).


ORIGINAL_MEDIA

public static final EntryUrlFormatter.EntryMediaType ORIGINAL_MEDIA
Original uploaded media.


SCREENSHOT

public static final EntryUrlFormatter.EntryMediaType SCREENSHOT
Generated default screenshot image (applicable for VideoEntries only).


THUMBNAIL

public static final EntryUrlFormatter.EntryMediaType THUMBNAIL
Generated default thumbnail image (applicable for VideoEntries and ImageEntries).

Method Detail

valueOf

public static EntryUrlFormatter.EntryMediaType 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

values

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

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