public interface FileMediaTypeService
| Modifier and Type | Method and Description |
|---|---|
String |
getExtension(String mediaType)
Get the extension for the specified internet media type
|
String |
getMediaType(String extension)
Get the internet media type for the specified extension
|
String |
getMediaTypeByName(File file)
Get the internet media type for the specified file using only its
file name, no inspection
|
String getExtension(String mediaType)
mediaType - a valid media typeString getMediaType(String extension)
extension - a valid file extensionCopyright © 2015 Alfresco Software. All rights reserved.