public interface MimeMappingStrategy
| Modifier and Type | Method and Description |
|---|---|
String |
determineMimeTypeByFileName(String fileName)
Determines the mime type by the file extension fo the given file name.
|
String |
fileExtensionForMimeType(String mimeType)
Computes the file extension (e.g.
|
String fileExtensionForMimeType(String mimeType)
mimeType - the mime type to get the file extension for.null if the specified mimeType is unknown
or could not be mapped to a file extension.Copyright © 2017 SAP SE. All Rights Reserved.