public interface MIMETypeAware
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultMIMEType()
Returns the default MIME Type for the OWLOntologyFormat that this class
is a factory for.
|
default List<String> |
getMIMETypes()
Returns a sorted list of MIMETypes for the OWLOntologyFormat that this
class is a factory for.
|
default boolean |
handlesMimeType(String mimeType)
Determines whether either getDefaultMIMEType() equals the given mimeType
or getMIMETypes() contains the given mimeType.
|
static String |
stripWeight(String mime)
Utility to reduce a mime format like "text/plain; q=0.1" to "text/plain"
|
@Nullable String getDefaultMIMEType()
@Nonnull default List<String> getMIMETypes()
default boolean handlesMimeType(String mimeType)
mimeType - The MIME type to match against.Copyright © 2018 The University of Manchester. All rights reserved.