de.fuberlin.wiwiss.marbles.loading
Class ContentTypes
java.lang.Object
de.fuberlin.wiwiss.marbles.loading.ContentTypes
public class ContentTypes
- extends java.lang.Object
Functionalities to identify RDF content types
- Author:
- Christian Becker
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 |
ContentTypes
public ContentTypes()
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