public class Lang extends Object
LangBuilder
and
register with RDFLanguages
.Modifier and Type | Field and Description |
---|---|
static Lang |
N3
N3 (RDF subset of N3)
|
static Lang |
NQ
NQuads
|
static Lang |
NQUADS
NQuads
|
static Lang |
NT
N-triples
|
static Lang |
NTRIPLES
N-triples
|
static Lang |
RDFJSON
RDF/JSON (this is not JSON-LD)
See "http://jena.apache.org/documentation/io/rdf-json.html"
|
static Lang |
RDFNULL |
static Lang |
RDFXML
RDF/XML
|
static Lang |
TRIG
TriG
|
static Lang |
TTL
Turtle
|
static Lang |
TURTLE
Turtle
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
static Lang |
get(String name)
Deprecated.
|
static Lang |
get(String name,
Lang dftLang)
Deprecated.
|
List<String> |
getAltContentTypes() |
List<String> |
getAltNames() |
ContentType |
getContentType() |
List<String> |
getFileExtensions() |
String |
getLabel() |
String |
getName() |
static Lang |
guess(String resourceIRI)
Deprecated.
|
static Lang |
guess(String resourceIRI,
Lang dftLang)
Deprecated.
|
int |
hashCode() |
String |
toLongString() |
String |
toString() |
public static Lang RDFXML
public static Lang NTRIPLES
public static Lang NT
public static Lang N3
public static Lang TURTLE
public static Lang TTL
public static Lang RDFJSON
public static Lang NQUADS
public static Lang NQ
public static Lang TRIG
public static Lang RDFNULL
public String getName()
public ContentType getContentType()
public String getLabel()
public String toLongString()
@Deprecated public static Lang get(String name)
RDFLanguages.nameToLang(String)
@Deprecated public static Lang get(String name, Lang dftLang)
RDFLanguages.nameToLang(String)
@Deprecated public static Lang guess(String resourceIRI, Lang dftLang)
RDFLanguages.filenameToLang(String,Lang)
@Deprecated public static Lang guess(String resourceIRI)
RDFLanguages.filenameToLang(String)
Licenced under the Apache License, Version 2.0