Package | Description |
---|---|
org.apache.jena.atlas.web | |
org.apache.jena.riot | |
org.apache.jena.riot.lang |
Modifier and Type | Method and Description |
---|---|
static ContentType |
ContentType.create(String string) |
static ContentType |
ContentType.create(String ctString,
String charset) |
ContentType |
TypedInputStream.getMediaType() |
Constructor and Description |
---|
TypedInputStream(InputStream in,
ContentType ct) |
TypedInputStream(InputStream in,
ContentType ct,
String baseURI) |
Modifier and Type | Method and Description |
---|---|
static ContentType |
WebContent.determineCT(String contentTypeStr,
Lang hintLang,
String target)
Determine the content type to be used, given the target URL, the content-type from
Content Negotiation and a hint language.
|
ContentType |
Lang.getContentType() |
static ContentType |
RDFLanguages.guessContentType(String resourceName) |
Modifier and Type | Method and Description |
---|---|
static Lang |
RDFLanguages.contentTypeToLang(ContentType ct)
Map a content type (without charset) to a
Lang |
static boolean |
WebContent.isHtmlForm(ContentType ct) |
static boolean |
WebContent.isMultiPartForm(ContentType ct) |
static boolean |
WebContent.matchContentType(ContentType ct1,
ContentType ct2)
Match content type (ignores charsets and other parameters)
|
void |
ReaderRIOTBase.read(InputStream in,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
void |
ReaderRIOT.read(InputStream in,
String baseURI,
ContentType ct,
StreamRDF output,
Context context)
Read from an InputStream and output RDF on the StreamRDF.
|
void |
ReaderRIOT.read(Reader reader,
String baseURI,
ContentType ct,
StreamRDF output,
Context context)
Read from an InputStream and output RDF on the StreamRDF.
|
Modifier and Type | Method and Description |
---|---|
void |
ReaderTriX.read(InputStream in,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
void |
JsonLDReader.read(InputStream in,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
void |
ReaderTriX.read(Reader reader,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
void |
JsonLDReader.read(Reader reader,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
Licenced under the Apache License, Version 2.0