public abstract class OWLDocumentFormatFactoryImpl extends Object implements OWLDocumentFormatFactory
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
OWLDocumentFormat |
get() |
String |
getDefaultMIMEType()
Returns the default MIME Type for the OWLOntologyFormat that this class
is a factory for.
|
String |
getKey()
Returns the key for the OWLOntologyFormat that this class is a factory
for without necessarily creating an instance of the OWLOntologyFormat.
|
List<String> |
getMIMETypes()
Returns a sorted list of MIMETypes for the OWLOntologyFormat that this
class is a factory for.
|
boolean |
handlesMimeType(String mimeType)
Determines whether either getDefaultMIMEType() equals the given mimeType
or getMIMETypes() contains the given mimeType.
|
int |
hashCode() |
boolean |
isTextual()
Returns true if this format can be represented using textual characters.
|
getClass, notify, notifyAll, toString, wait, wait, wait
createFormat
public String getKey()
OWLDocumentFormatFactory
getKey
in interface OWLDocumentFormatFactory
@Nullable public String getDefaultMIMEType()
MIMETypeAware
getDefaultMIMEType
in interface MIMETypeAware
public List<String> getMIMETypes()
MIMETypeAware
getMIMETypes
in interface MIMETypeAware
public boolean handlesMimeType(String mimeType)
MIMETypeAware
handlesMimeType
in interface MIMETypeAware
mimeType
- The MIME type to match against.public boolean isTextual()
OWLDocumentFormatFactory
isTextual
in interface OWLDocumentFormatFactory
public OWLDocumentFormat get()
get
in interface javax.inject.Provider<OWLDocumentFormat>
Copyright © 2017 The University of Manchester. All Rights Reserved.