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 OWLDocumentFormat that this class is a factory for.
|
String |
getKey()
Returns the key for the OWLDocumentFormat that this class is a factory
for without necessarily creating an instance of the OWLDocumentFormat.
|
List<String> |
getMIMETypes()
Returns a sorted list of MIME types for the OWLDocumentFormat that this class is a factory
for.
|
boolean |
handlesMimeType(String mimeType)
Determines whether either
MIMETypeAware.getDefaultMIMEType() equals the given mime type or
MIMETypeAware.getMIMETypes() contains the given mime type. |
int |
hashCode() |
boolean |
isTextual()
Returns true if this format can be represented using textual characters.
|
getClass, notify, notifyAll, toString, wait, wait, wait
createFormat
stripWeight
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
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.public boolean isTextual()
OWLDocumentFormatFactory
isTextual
in interface OWLDocumentFormatFactory
public OWLDocumentFormat get()
get
in interface Supplier<OWLDocumentFormat>
Copyright © 2020 The University of Manchester. All rights reserved.