public class OBO12ParserFactory extends Object implements LegacyOWLParserFactory
| Constructor and Description |
|---|
OBO12ParserFactory() |
| Modifier and Type | Method and Description |
|---|---|
OWLParser |
createParser()
Creates a parser.
|
OWLParser |
get() |
String |
getDefaultMIMEType()
Returns the default MIME Type for the OWLOntologyFormat that this class
is a factory for.
|
List<String> |
getMIMETypes()
Returns a sorted list of MIMETypes for the OWLOntologyFormat that this
class is a factory for.
|
OWLDocumentFormatFactory |
getSupportedFormat() |
boolean |
handlesMimeType(String mimeType)
Determines whether either getDefaultMIMEType() equals the given mimeType
or getMIMETypes() contains the given mimeType.
|
public String getDefaultMIMEType()
MIMETypeAwaregetDefaultMIMEType in interface MIMETypeAwarepublic List<String> getMIMETypes()
MIMETypeAwaregetMIMETypes in interface MIMETypeAwarepublic boolean handlesMimeType(String mimeType)
MIMETypeAwarehandlesMimeType in interface MIMETypeAwaremimeType - The MIME type to match against.public OWLParser createParser()
OWLParserFactorycreateParser in interface OWLParserFactorypublic OWLDocumentFormatFactory getSupportedFormat()
getSupportedFormat in interface OWLParserFactoryCopyright © 2016 The University of Manchester. All Rights Reserved.