public interface MimeConfig extends Config
As used to specify a single Mime type within MimesConfig
.
Modifier and Type | Method and Description |
---|---|
String |
getExtension()
The extension or suffix.
|
String |
getType()
Returns the associated mime type.
|
void |
setType(String type)
Sets the associated mime type.
|
String getExtension()
void setType(String type) throws ConfigException
type
- the typeConfigException
- if unable to setString getType()
Copyright © 2022 Push Technology Ltd. All Rights Reserved.