public interface MimetypeEntry extends Serializable
Holds meta information about a mimetype.
Modifier and Type | Method and Description |
---|---|
List<String> |
getExtensions()
Returns the list of extensions for this mimetype.
|
String |
getIconPath()
Returns the path of the icon for this mimetype.
|
String |
getMajor()
Returns the major part of the RFC-2046.
|
List<String> |
getMimetypes()
Returns the mimetype's names.
|
String |
getMinor()
Returns the minor part of the RFC-2046.
|
String |
getNormalized()
Returns the main RFC-2046 name for this mime type.
|
boolean |
isBinary()
Is this a binary mimetype?
|
boolean |
isOleSupported()
Is this mimetype supported by a oleExtract plugin?
|
boolean |
isOnlineEditable()
Is this mimetype supported by a LiveEdit plugin?
|
List<String> getMimetypes()
String getNormalized()
If this mime type has several names ('text/restructured', 'text-x-rst'), then this method will always return the first form.
String getMajor()
getNormalized()
String getMinor()
getNormalized()
String getIconPath()
List<String> getExtensions()
boolean isBinary()
Might be useful to know if we can read it as human.
boolean isOnlineEditable()
Might be useful to know to display the Edit online link.
boolean isOleSupported()
If the property is true, processes the ole Extraction, otherwise skip.
Copyright © 2015 Nuxeo SA. All rights reserved.