public abstract class OWLParserFactoryImpl extends Object implements OWLParserFactory
Modifier and Type | Method and Description |
---|---|
OWLParser |
get() |
String |
getDefaultMIMEType()
Returns the default MIME Type for the OWLDocumentFormat that this class is a factory for.
|
List<String> |
getMIMETypes()
Returns a sorted list of MIME types for the OWLDocumentFormat that this class is a factory
for.
|
OWLDocumentFormatFactory |
getSupportedFormat() |
boolean |
handlesMimeType(String mimeType)
Determines whether either
MIMETypeAware.getDefaultMIMEType() equals the given mime type or
MIMETypeAware.getMIMETypes() contains the given mime type. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createParser
stripWeight
public OWLDocumentFormatFactory getSupportedFormat()
getSupportedFormat
in interface OWLParserFactory
@Nullable public final String getDefaultMIMEType()
MIMETypeAware
getDefaultMIMEType
in interface MIMETypeAware
public final List<String> getMIMETypes()
MIMETypeAware
getMIMETypes
in interface MIMETypeAware
public final boolean handlesMimeType(String mimeType)
MIMETypeAware
MIMETypeAware.getDefaultMIMEType()
equals the given mime type or
MIMETypeAware.getMIMETypes()
contains the given mime type.handlesMimeType
in interface MIMETypeAware
mimeType
- The MIME type to match against.Copyright © 2020 The University of Manchester. All rights reserved.