public class CommonTagExtractor extends Object
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.collect.BiMap<String,Integer> |
mimeTypes |
| Constructor and Description |
|---|
CommonTagExtractor() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getMimeType(Integer tag) |
static Integer |
getMimeTypeCode(String type)
Codifies the given mimetype
|
static MediaTypeEncoding |
getType(Integer tag) |
static boolean |
isImageMimeType(String type) |
static boolean |
isSoundMimeType(String type) |
static boolean |
isVideoMimeType(String type) |
public static Integer getMimeTypeCode(String type)
type - the mimetype of the resourcepublic static boolean isImageMimeType(String type)
public static boolean isSoundMimeType(String type)
public static boolean isVideoMimeType(String type)
public static MediaTypeEncoding getType(Integer tag)
Copyright © 2019 Europeana Foundation. All rights reserved.