Class RDFMediaTypes


  • public final class RDFMediaTypes
    extends java.lang.Object

    MediaType objects related to RDF, SPARQL, and other SemWeb concepts.

    Since:
    2.0
    Version:
    3.0
    Author:
    Michael Grove
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.google.common.net.MediaType CSV  
      static com.google.common.net.MediaType JSONLD  
      static com.google.common.net.MediaType N3  
      static com.google.common.net.MediaType NQUADS  
      static com.google.common.net.MediaType NQUADS_DEPRECATED  
      static com.google.common.net.MediaType NTRIPLES  
      static com.google.common.net.MediaType NTRIPLES_DEPRECATED  
      static com.google.common.collect.ImmutableList<com.google.common.net.MediaType> QUERY_RESULTS  
      static com.google.common.collect.ImmutableList<com.google.common.net.MediaType> RDF_TYPES  
      static com.google.common.net.MediaType RDFXML  
      static com.google.common.net.MediaType SPARQL_BINARY  
      static com.google.common.net.MediaType SPARQL_BOOLEAN  
      static com.google.common.net.MediaType SPARQL_JSON  
      static com.google.common.net.MediaType SPARQL_QUERY  
      static com.google.common.collect.ImmutableList<com.google.common.net.MediaType> SPARQL_TYPES  
      static com.google.common.net.MediaType SPARQL_UPDATE  
      static com.google.common.net.MediaType SPARQL_XML  
      static com.google.common.net.MediaType TRIG  
      static com.google.common.net.MediaType TRIG_DEPRECATED  
      static com.google.common.net.MediaType TSV  
      static com.google.common.net.MediaType TSV2  
      static com.google.common.net.MediaType TURTLE  
      static com.google.common.net.MediaType TURTLE_DEPRECATED  
      static com.google.common.collect.ImmutableList<com.google.common.net.MediaType> TURTLE_TYPES  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isQueryResults​(com.google.common.net.MediaType theType)  
      static boolean isRDF​(com.google.common.net.MediaType theType)  
      static boolean isTurtle​(com.google.common.net.MediaType theType)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • TURTLE

        public static final com.google.common.net.MediaType TURTLE
      • TURTLE_DEPRECATED

        public static final com.google.common.net.MediaType TURTLE_DEPRECATED
      • RDFXML

        public static final com.google.common.net.MediaType RDFXML
      • NTRIPLES

        public static final com.google.common.net.MediaType NTRIPLES
      • NTRIPLES_DEPRECATED

        public static final com.google.common.net.MediaType NTRIPLES_DEPRECATED
      • JSONLD

        public static final com.google.common.net.MediaType JSONLD
      • N3

        public static final com.google.common.net.MediaType N3
      • TRIG

        public static final com.google.common.net.MediaType TRIG
      • TRIG_DEPRECATED

        public static final com.google.common.net.MediaType TRIG_DEPRECATED
      • NQUADS

        public static final com.google.common.net.MediaType NQUADS
      • NQUADS_DEPRECATED

        public static final com.google.common.net.MediaType NQUADS_DEPRECATED
      • CSV

        public static final com.google.common.net.MediaType CSV
      • TSV

        public static final com.google.common.net.MediaType TSV
      • TSV2

        public static final com.google.common.net.MediaType TSV2
      • SPARQL_XML

        public static final com.google.common.net.MediaType SPARQL_XML
      • SPARQL_JSON

        public static final com.google.common.net.MediaType SPARQL_JSON
      • SPARQL_BINARY

        public static final com.google.common.net.MediaType SPARQL_BINARY
      • SPARQL_BOOLEAN

        public static final com.google.common.net.MediaType SPARQL_BOOLEAN
      • SPARQL_UPDATE

        public static final com.google.common.net.MediaType SPARQL_UPDATE
      • SPARQL_QUERY

        public static final com.google.common.net.MediaType SPARQL_QUERY
      • SPARQL_TYPES

        public static final com.google.common.collect.ImmutableList<com.google.common.net.MediaType> SPARQL_TYPES
      • RDF_TYPES

        public static final com.google.common.collect.ImmutableList<com.google.common.net.MediaType> RDF_TYPES
      • TURTLE_TYPES

        public static final com.google.common.collect.ImmutableList<com.google.common.net.MediaType> TURTLE_TYPES
      • QUERY_RESULTS

        public static final com.google.common.collect.ImmutableList<com.google.common.net.MediaType> QUERY_RESULTS
    • Method Detail

      • isTurtle

        public static boolean isTurtle​(com.google.common.net.MediaType theType)
      • isQueryResults

        public static boolean isQueryResults​(com.google.common.net.MediaType theType)
      • isRDF

        public static boolean isRDF​(com.google.common.net.MediaType theType)