public class RDFFormat extends Object
Modifier and Type | Field and Description |
---|---|
static RDFFormat |
N3 |
static RDFFormat |
NQUADS |
static RDFFormat |
NTRIPLES |
static RDFFormat |
RDFXML |
static RDFFormat |
RDFXML_ABBREV |
static RDFFormat |
TRIG |
static RDFFormat |
TRIX |
static RDFFormat |
TRIXEXT |
static RDFFormat |
TURTLE |
Modifier and Type | Method and Description |
---|---|
static String |
getAllFormatsForContentAcceptHTTPHeader()
this returns a string for being used in the "Accept" field of the Header of HTTP Requests.
|
String |
getMIMEType() |
String |
getName() |
static RDFFormat |
guessRDFFormatFromFile(File file)
given file
file , infers its RDF serialization format from file 's extension |
static RDFFormat |
parseFormat(String formatName)
given the name of a RDF serialization format, this method returns the java object associated to it
|
String |
toString() |
public static RDFFormat RDFXML
public static RDFFormat RDFXML_ABBREV
public static RDFFormat NTRIPLES
public static RDFFormat N3
public static RDFFormat TRIG
public static RDFFormat TRIX
public static RDFFormat TRIXEXT
public static RDFFormat TURTLE
public static RDFFormat NQUADS
public String getName()
public String getMIMEType()
public static RDFFormat guessRDFFormatFromFile(File file)
file
, infers its RDF serialization format from file
's extensionfile
- public static RDFFormat parseFormat(String formatName)
formatName
- public static String getAllFormatsForContentAcceptHTTPHeader()
Copyright © 2015 ART Group, University of Rome, Tor Vergata. All Rights Reserved.