class ActivationMediaTypeFactory
extends java.lang.Object
MediaType
for a given Resource
using JAF.Modifier and Type | Field and Description |
---|---|
private static javax.activation.FileTypeMap |
fileTypeMap |
Constructor and Description |
---|
ActivationMediaTypeFactory() |
Modifier and Type | Method and Description |
---|---|
static MediaType |
getMediaType(Resource resource) |
private static javax.activation.FileTypeMap |
loadFileTypeMapFromContextSupportModule() |