Package dev.enola.thing.gen.graphviz
Class GraphvizMediaType
java.lang.Object
dev.enola.thing.gen.graphviz.GraphvizMediaType
- All Implemented Interfaces:
MediaTypeProvider,ResourceMediaTypeDetector
MediaType of the
text/vnd.graphviz Graph Description
Language DOT (*.gv) for Graphviz, in UTF-8 Character Encoding.-
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
-
GV
-
-
Constructor Details
-
GraphvizMediaType
public GraphvizMediaType()
-
-
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
-