Package dev.enola.thing.gen.graphcommons
Class GraphCommonsMediaType
java.lang.Object
dev.enola.thing.gen.graphcommons.GraphCommonsMediaType
- All Implemented Interfaces:
MediaTypeProvider,ResourceMediaTypeDetector
-
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
-
GCJSON
-
-
Constructor Details
-
GraphCommonsMediaType
public GraphCommonsMediaType()
-
-
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
-