Package dev.enola.infer.datalog
Class DatalogMediaTypes
java.lang.Object
dev.enola.infer.datalog.DatalogMediaTypes
- All Implemented Interfaces:
MediaTypeProvider,ResourceMediaTypeDetector
The
text/vnd.datalog Media Types for https://en.wikipedia.org/wiki/Datalog; as specified by the iana.org
assignment.
Nota bene, quote, Wikipedia: "There is no unified standard for the specification of Datalog syntax."
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMaps the URI path "extension" (WITH the dot; or not, filenames such as "README" are also permitted!) to its "canonical" Media Types.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.enola.common.io.mediatype.MediaTypeProvider
detect, knownTypesWithAlternativesMethods inherited from interface dev.enola.common.io.mediatype.ResourceMediaTypeDetector
detect
-
Field Details
-
GENERIC_DATALOG_UTF_8
-
FEATURES
- See Also:
-
DIALECT
- See Also:
-
SOUFFLE_DATALOG_UTF_8
Soufflé dialect.
-
-
Constructor Details
-
DatalogMediaTypes
public DatalogMediaTypes()
-
-
Method Details
-
extensionsToTypes
Description copied from interface:MediaTypeProviderMaps the URI path "extension" (WITH the dot; or not, filenames such as "README" are also permitted!) to its "canonical" Media Types. This should only be used for "informational" listing kind of output. To actually determine a MediaType, please useMediaTypeProvider.detect(String, ByteSource, MediaType)instead.- Specified by:
extensionsToTypesin interfaceMediaTypeProvider
-