public abstract class AbstractMIMETypesLoader extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
protected static com.fasterxml.jackson.databind.ObjectMapper |
MAPPER |
protected List<String> |
mimeTypes |
protected Map<String,String> |
mimeTypesMap |
| Constructor and Description |
|---|
AbstractMIMETypesLoader() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFileExt(String mimeType) |
List<String> |
getMimeTypes() |
protected abstract String |
getMimeTypesFile() |
void |
load() |
protected static final org.slf4j.Logger LOG
protected static final com.fasterxml.jackson.databind.ObjectMapper MAPPER
public void load()
protected abstract String getMimeTypesFile() throws IOException
IOExceptionCopyright © 2020–2023. All rights reserved.