public class QueryResultFormat extends FileFormat
| Modifier and Type | Field and Description | 
|---|---|
| protected static IRI | SPARQL_RESULTS_CSV_URILocal constant for tuple formats for SPARQL Results CSV. | 
| protected static IRI | SPARQL_RESULTS_JSON_URILocal constant reused across boolean and tuple formats for SPARQL Results JSON. | 
| protected static IRI | SPARQL_RESULTS_TSV_URILocal constant for tuple formats for SPARQL Results TSV. | 
| protected static IRI | SPARQL_RESULTS_XML_URILocal constant reused across boolean and tuple formats for SPARQL Results XML. | 
| Constructor and Description | 
|---|
| QueryResultFormat(String name,
                 Collection<String> mimeTypes,
                 Charset charset,
                 Collection<String> fileExtensions) | 
| QueryResultFormat(String name,
                 Collection<String> mimeTypes,
                 Charset charset,
                 Collection<String> fileExtensions,
                 IRI standardURI) | 
| QueryResultFormat(String name,
                 String mimeType,
                 Charset charset,
                 Collection<String> fileExtensions) | 
| QueryResultFormat(String name,
                 String mimeType,
                 Charset charset,
                 String fileExt) | 
| Modifier and Type | Method and Description | 
|---|---|
| IRI | getStandardURI() | 
| boolean | hasStandardURI() | 
equals, getCharset, getDefaultFileExtension, getDefaultMIMEType, getFileExtensions, getMIMETypes, getName, hasCharset, hasDefaultFileExtension, hasDefaultMIMEType, hasFileExtension, hashCode, hasMIMEType, matchFileName, matchMIMEType, toStringprotected static final IRI SPARQL_RESULTS_XML_URI
protected static final IRI SPARQL_RESULTS_JSON_URI
protected static final IRI SPARQL_RESULTS_CSV_URI
protected static final IRI SPARQL_RESULTS_TSV_URI
public QueryResultFormat(String name, String mimeType, Charset charset, String fileExt)
name - The name of the format, e.g. "SPARQL/XML".mimeType - The MIME type of the format, e.g. application/sparql-results+xml for the SPARQL/XML file
                 format.charset - The default character encoding of the format. Specify null if not applicable.fileExt - The (default) file extension for the format, e.g. srx for SPARQL/XML files.public QueryResultFormat(String name, String mimeType, Charset charset, Collection<String> fileExtensions)
name - The name of the format, e.g. "SPARQL/XML".mimeType - The MIME type of the format, e.g. application/sparql-results+xml for the
                       SPARQL/XML format.charset - The default character encoding of the format. Specify null if not applicable.fileExtensions - The format's file extensions, e.g. srx for SPARQL/XML files. The first item in the
                       list is interpreted as the default file extension for the format.public QueryResultFormat(String name, Collection<String> mimeTypes, Charset charset, Collection<String> fileExtensions)
name - The name of the format, e.g. "SPARQL/XML".mimeTypes - The MIME types of the format, e.g. application/sparql-results+xml for the
                       SPARQL/XML format. The first item in the list is interpreted as the default MIME type for
                       the format.charset - The default character encoding of the format. Specify null if not applicable.fileExtensions - The format's file extensions, e.g. srx for SPARQL/XML files. The first item in the
                       list is interpreted as the default file extension for the format.public QueryResultFormat(String name, Collection<String> mimeTypes, Charset charset, Collection<String> fileExtensions, IRI standardURI)
name - The name of the format, e.g. "SPARQL/XML".mimeTypes - The MIME types of the format, e.g. application/sparql-results+xml for the
                       SPARQL/XML format. The first item in the list is interpreted as the default MIME type for
                       the format.charset - The default character encoding of the format. Specify null if not applicable.fileExtensions - The format's file extensions, e.g. srx for SPARQL/XML files. The first item in the
                       list is interpreted as the default file extension for the format.public boolean hasStandardURI()
public IRI getStandardURI()
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.