| Package | Description |
|---|---|
| org.apache.jena.atlas.web | |
| org.apache.jena.riot | |
| org.apache.jena.riot.lang | |
| org.apache.jena.riot.lang.extra |
| 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 | Field and Description |
|---|---|
static ContentType |
WebContent.ctHTMLForm |
static ContentType |
WebContent.ctJSON |
static ContentType |
WebContent.ctJSONLD |
static ContentType |
WebContent.ctMultiAlt |
static ContentType |
WebContent.ctMultipartFormData |
static ContentType |
WebContent.ctMultipartMixed |
static ContentType |
WebContent.ctN3Alt1 |
static ContentType |
WebContent.ctN3Alt2 |
static ContentType |
WebContent.ctNQuads |
static ContentType |
WebContent.ctNQuadsAlt1 |
static ContentType |
WebContent.ctNQuadsAlt2 |
static ContentType |
WebContent.ctNTriples |
static ContentType |
WebContent.ctNTriplesAlt |
static ContentType |
WebContent.ctOctets |
static ContentType |
WebContent.ctRDFJSON |
static ContentType |
WebContent.ctRDFTHRIFT |
static ContentType |
WebContent.ctRDFXML |
static ContentType |
WebContent.ctResultsJSON |
static ContentType |
WebContent.ctResultsThrift |
static ContentType |
WebContent.ctResultsXML |
static ContentType |
WebContent.ctRrdfJson
Deprecated.
|
static ContentType |
WebContent.ctSPARQLQuery |
static ContentType |
WebContent.ctSPARQLUpdate |
static ContentType |
WebContent.ctSSE |
static ContentType |
WebContent.ctTextCSV |
static ContentType |
WebContent.ctTextPlain |
static ContentType |
WebContent.ctTextTSV |
static ContentType |
WebContent.ctTriG |
static ContentType |
WebContent.ctTriGAlt1 |
static ContentType |
WebContent.ctTriGAlt2 |
static ContentType |
WebContent.ctTriX |
static ContentType |
WebContent.ctTriXxml |
static ContentType |
WebContent.ctTurtle |
static ContentType |
WebContent.ctTurtleAlt1 |
static ContentType |
WebContent.ctTurtleAlt2 |
static ContentType |
WebContent.ctTypeN3 |
static ContentType |
WebContent.ctXML |
static ContentType |
WebContent.ctXMLAlt |
| 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 |
ReaderRIOTRDFXML.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(InputStream in,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
void |
ReaderRDFNULL.read(InputStream in,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
void |
ReaderRIOTRDFXML.read(Reader reader,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
void |
JsonLDReader.read(Reader reader,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
void |
ReaderTriX.read(Reader reader,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
void |
ReaderRDFNULL.read(Reader reader,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
TurtleJavaccReaderRIOT.read(InputStream in,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
void |
TurtleJavaccReaderRIOT.read(Reader reader,
String baseURI,
ContentType ct,
StreamRDF output,
Context context) |
Licenced under the Apache License, Version 2.0