eu.planets_project.ifr.core.techreg.formats
Enum Format.UriType
java.lang.Object
java.lang.Enum<Format.UriType>
eu.planets_project.ifr.core.techreg.formats.Format.UriType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Format.UriType>
- Enclosing interface:
- Format
public static enum Format.UriType
- extends java.lang.Enum<Format.UriType>
Different types of format URIs supported by Planets services.
Method Summary |
static Format.UriType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Format.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 |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
MIME
public static final Format.UriType MIME
PRONOM
public static final Format.UriType PRONOM
EXTENSION
public static final Format.UriType EXTENSION
ANY
public static final Format.UriType ANY
UNKNOWN
public static final Format.UriType UNKNOWN
values
public static Format.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 (Format.UriType c : Format.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 Format.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
Copyright © 2007-2010 The Planets Consortium. All Rights Reserved.