Interface MimeConfig
- All Superinterfaces:
Config
Mime Configuration.
As used to specify a single Mime type within MimesConfig
.
- Since:
- 4.4
-
Method Summary
-
Method Details
-
getExtension
String getExtension()The extension or suffix.- Returns:
- the extension or suffix
-
setType
Sets the associated mime type.- Parameters:
type
- the type- Throws:
ConfigException
- if unable to set
-
getType
String getType()Returns the associated mime type.- Returns:
- mime type
-