public enum MediaTypeEncoding extends Enum<MediaTypeEncoding>
| Enum Constant and Description |
|---|
AUDIO |
IMAGE |
INVALID_VALUE |
TEXT |
VIDEO |
| Modifier and Type | Method and Description |
|---|---|
int |
getEncodedValue() |
int |
getValue() |
static MediaTypeEncoding |
valueOf(int tag) |
static MediaTypeEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaTypeEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaTypeEncoding IMAGE
public static final MediaTypeEncoding AUDIO
public static final MediaTypeEncoding VIDEO
public static final MediaTypeEncoding TEXT
public static final MediaTypeEncoding INVALID_VALUE
public static MediaTypeEncoding[] values()
for (MediaTypeEncoding c : MediaTypeEncoding.values()) System.out.println(c);
public static MediaTypeEncoding valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
public int getEncodedValue()
public static MediaTypeEncoding valueOf(int tag)
Copyright © 2019 Europeana Foundation. All rights reserved.