Package dev.enola.thing.gen.gexf
Class GexfMediaType
java.lang.Object
dev.enola.thing.gen.gexf.GexfMediaType
- All Implemented Interfaces:
MediaTypeProvider,ResourceMediaTypeDetector
MediaType of the
application/gexf+xml Graph Exchange XML
Format (GEXF) *.gexf
in UTF-8 Character Encoding, based on §2.2 (encoding) and §8 (content-type) of GEXF Primer.-
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
-
GEXF
-
-
Constructor Details
-
GexfMediaType
public GexfMediaType()
-
-
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
-