de.fuberlin.wiwiss.marbles.loading
Class ContentTypes

java.lang.Object
  extended by de.fuberlin.wiwiss.marbles.loading.ContentTypes

public class ContentTypes
extends java.lang.Object

Functionalities to identify RDF content types

Author:
Christian Becker

Constructor Summary
ContentTypes()
           
 
Method Summary
static boolean isRDF(java.lang.String contentType)
           
static boolean isRDFN3(java.lang.String contentType)
           
static boolean isRDFTTL(java.lang.String contentType)
           
static boolean isRDFXML(java.lang.String contentType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentTypes

public ContentTypes()
Method Detail

isRDFXML

public static boolean isRDFXML(java.lang.String contentType)
Parameters:
contentType -
Returns:
true, if the provided content type is indicative of RDF/XML content

isRDFN3

public static boolean isRDFN3(java.lang.String contentType)
Parameters:
contentType -
Returns:
true, if the provided content type is indicative of RDF/N3 content

isRDFTTL

public static boolean isRDFTTL(java.lang.String contentType)
Parameters:
contentType -
Returns:
true, if the provided content type is indicative of RDF/TTL content

isRDF

public static boolean isRDF(java.lang.String contentType)
Parameters:
contentType -
Returns:
true, if the provided content type is indicative of RDF content