org.openjena.riot
Class WebContent

java.lang.Object
  extended by org.openjena.riot.WebContent

public class WebContent
extends Object


Field Summary
static String charsetASCII
           
static String charsetUTF8
           
static String contentTypeForm
           
static String contentTypeJSON
           
static String contentTypeN3
           
static String contentTypeN3Alt1
           
static String contentTypeN3Alt2
           
static String contentTypeNQuads
           
static String contentTypeNQuadsAlt
           
static String contentTypeNTriples
           
static String contentTypeNTriplesAlt
           
static String contentTypeOctets
           
static String contentTypeRdfJson
           
static String contentTypeRDFXML
           
static String contentTypeResultsBIO
           
static String contentTypeResultsJSON
           
static String contentTypeResultsXML
           
static String contentTypeSPARQLQuery
           
static String contentTypeSPARQLUpdate
           
static String contentTypeSSE
           
static String contentTypeTextCSV
           
static String contentTypeTextPlain
           
static String contentTypeTextTSV
           
static String contentTypeTriG
           
static String contentTypeTriGAlt
           
static String contentTypeTriX
           
static String contentTypeTurtle
           
static String contentTypeTurtle1
          Deprecated. Use contentTypeTurtleAlt1
static String contentTypeTurtle2
          Deprecated. Use contentTypeTurtle
static String contentTypeTurtle3
          Deprecated. Use contentTypeTurtleAlt2
static String contentTypeTurtleAlt1
           
static String contentTypeTurtleAlt2
           
static String contentTypeXML
           
static ContentType ctN3
          Constants
static String encodingUTF8
          Java name for UTF-8 encoding
static String langN3
           
static String langNQuads
           
static String langNTriple
           
static String langNTriples
           
static String langRdfJson
           
static String langRDFXML
           
static String langRDFXMLAbbrev
           
static String langTriG
           
static String langTTL
           
static String langTurtle
           
 
Constructor Summary
WebContent()
           
 
Method Summary
static Lang contentTypeToLang(String contentType)
           
static String getCharsetForContentType(String contentType)
           
static String mapLangToContentType(Lang lang)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contentTypeN3

public static final String contentTypeN3
See Also:
Constant Field Values

contentTypeN3Alt1

public static final String contentTypeN3Alt1
See Also:
Constant Field Values

contentTypeN3Alt2

public static final String contentTypeN3Alt2
See Also:
Constant Field Values

contentTypeTurtle

public static final String contentTypeTurtle
See Also:
Constant Field Values

contentTypeTurtleAlt1

public static final String contentTypeTurtleAlt1
See Also:
Constant Field Values

contentTypeTurtleAlt2

public static final String contentTypeTurtleAlt2
See Also:
Constant Field Values

contentTypeTurtle1

@Deprecated
public static final String contentTypeTurtle1
Deprecated. Use contentTypeTurtleAlt1
See Also:
Constant Field Values

contentTypeTurtle2

@Deprecated
public static final String contentTypeTurtle2
Deprecated. Use contentTypeTurtle
See Also:
Constant Field Values

contentTypeTurtle3

@Deprecated
public static final String contentTypeTurtle3
Deprecated. Use contentTypeTurtleAlt2
See Also:
Constant Field Values

contentTypeRDFXML

public static final String contentTypeRDFXML
See Also:
Constant Field Values

contentTypeTextPlain

public static final String contentTypeTextPlain
See Also:
Constant Field Values

contentTypeNTriples

public static final String contentTypeNTriples
See Also:
Constant Field Values

contentTypeNTriplesAlt

public static final String contentTypeNTriplesAlt
See Also:
Constant Field Values

contentTypeXML

public static final String contentTypeXML
See Also:
Constant Field Values

contentTypeTriG

public static final String contentTypeTriG
See Also:
Constant Field Values

contentTypeNQuads

public static final String contentTypeNQuads
See Also:
Constant Field Values

contentTypeTriGAlt

public static final String contentTypeTriGAlt
See Also:
Constant Field Values

contentTypeNQuadsAlt

public static final String contentTypeNQuadsAlt
See Also:
Constant Field Values

contentTypeTriX

public static final String contentTypeTriX
See Also:
Constant Field Values

contentTypeOctets

public static final String contentTypeOctets
See Also:
Constant Field Values

contentTypeRdfJson

public static final String contentTypeRdfJson
See Also:
Constant Field Values

contentTypeResultsXML

public static final String contentTypeResultsXML
See Also:
Constant Field Values

contentTypeResultsJSON

public static final String contentTypeResultsJSON
See Also:
Constant Field Values

contentTypeJSON

public static final String contentTypeJSON
See Also:
Constant Field Values

contentTypeResultsBIO

public static final String contentTypeResultsBIO
See Also:
Constant Field Values

contentTypeSPARQLQuery

public static final String contentTypeSPARQLQuery
See Also:
Constant Field Values

contentTypeSPARQLUpdate

public static final String contentTypeSPARQLUpdate
See Also:
Constant Field Values

contentTypeForm

public static final String contentTypeForm
See Also:
Constant Field Values

contentTypeTextCSV

public static final String contentTypeTextCSV
See Also:
Constant Field Values

contentTypeTextTSV

public static final String contentTypeTextTSV
See Also:
Constant Field Values

contentTypeSSE

public static final String contentTypeSSE
See Also:
Constant Field Values

charsetUTF8

public static final String charsetUTF8
See Also:
Constant Field Values

charsetASCII

public static final String charsetASCII
See Also:
Constant Field Values

ctN3

public static final ContentType ctN3
Constants


langRDFXML

public static final String langRDFXML
See Also:
Constant Field Values

langRDFXMLAbbrev

public static final String langRDFXMLAbbrev
See Also:
Constant Field Values

langNTriple

public static final String langNTriple
See Also:
Constant Field Values

langNTriples

public static final String langNTriples
See Also:
Constant Field Values

langN3

public static final String langN3
See Also:
Constant Field Values

langTurtle

public static final String langTurtle
See Also:
Constant Field Values

langTTL

public static final String langTTL
See Also:
Constant Field Values

langRdfJson

public static final String langRdfJson
See Also:
Constant Field Values

langNQuads

public static final String langNQuads
See Also:
Constant Field Values

langTriG

public static final String langTriG
See Also:
Constant Field Values

encodingUTF8

public static final String encodingUTF8
Java name for UTF-8 encoding

See Also:
Constant Field Values
Constructor Detail

WebContent

public WebContent()
Method Detail

contentTypeToLang

public static Lang contentTypeToLang(String contentType)

mapLangToContentType

public static String mapLangToContentType(Lang lang)

getCharsetForContentType

public static String getCharsetForContentType(String contentType)


Licenced under the Apache License, Version 2.0