| Package | Description |
|---|---|
| org.openrdf.query.resultio |
| Modifier and Type | Field and Description |
|---|---|
static BooleanQueryResultFormat |
BooleanQueryResultFormat.JSON
SPARQL Query Results JSON Format.
|
static BooleanQueryResultFormat |
BooleanQueryResultFormat.SPARQL
SPARQL Query Results XML Format.
|
static BooleanQueryResultFormat |
BooleanQueryResultFormat.TEXT
Plain text encoding using values "true" and "false" (case-insensitive).
|
| Modifier and Type | Method and Description |
|---|---|
static BooleanQueryResultFormat |
BooleanQueryResultFormat.forFileName(String fileName)
Tries to determine the appropriate boolean file format for a file, based
on the extension specified in a file name.
|
static BooleanQueryResultFormat |
BooleanQueryResultFormat.forFileName(String fileName,
BooleanQueryResultFormat fallback)
Tries to determine the appropriate boolean file format for a file, based
on the extension specified in a file name.
|
static BooleanQueryResultFormat |
BooleanQueryResultFormat.forMIMEType(String mimeType)
Tries to determine the appropriate boolean file format based on the a MIME
type that describes the content type.
|
static BooleanQueryResultFormat |
BooleanQueryResultFormat.forMIMEType(String mimeType,
BooleanQueryResultFormat fallback)
Tries to determine the appropriate boolean file format based on the a MIME
type that describes the content type.
|
static BooleanQueryResultFormat |
QueryResultIO.getBooleanParserFormatForFileName(String fileName)
Tries to match the extension of a file name against the list of RDF
formats that can be parsed.
|
static BooleanQueryResultFormat |
QueryResultIO.getBooleanParserFormatForFileName(String fileName,
BooleanQueryResultFormat fallback)
Tries to match the extension of a file name against the list of RDF
formats that can be parsed.
|
static BooleanQueryResultFormat |
QueryResultIO.getBooleanParserFormatForMIMEType(String mimeType)
Tries to match a MIME type against the list of boolean query result
formats that can be parsed.
|
static BooleanQueryResultFormat |
QueryResultIO.getBooleanParserFormatForMIMEType(String mimeType,
BooleanQueryResultFormat fallback)
Tries to match a MIME type against the list of boolean query result
formats that can be parsed.
|
BooleanQueryResultFormat |
BooleanQueryResultParserFactory.getBooleanQueryResultFormat()
Returns the boolean query result format for this factory.
|
BooleanQueryResultFormat |
BooleanQueryResultWriter.getBooleanQueryResultFormat()
Gets the query result format that this writer uses.
|
BooleanQueryResultFormat |
BooleanQueryResultWriterFactory.getBooleanQueryResultFormat()
Returns the boolean query result format for this factory.
|
BooleanQueryResultFormat |
BooleanQueryResultParser.getBooleanQueryResultFormat()
Gets the query result format that this parser can parse.
|
static BooleanQueryResultFormat |
QueryResultIO.getBooleanWriterFormatForFileName(String fileName)
Tries to match the extension of a file name against the list of RDF
formats that can be written.
|
static BooleanQueryResultFormat |
QueryResultIO.getBooleanWriterFormatForFileName(String fileName,
BooleanQueryResultFormat fallback)
Tries to match the extension of a file name against the list of RDF
formats that can be written.
|
static BooleanQueryResultFormat |
QueryResultIO.getBooleanWriterFormatForMIMEType(String mimeType)
Tries to match a MIME type against the list of boolean query result
formats that can be written.
|
static BooleanQueryResultFormat |
QueryResultIO.getBooleanWriterFormatForMIMEType(String mimeType,
BooleanQueryResultFormat fallback)
Tries to match a MIME type against the list of boolean query result
formats that can be written.
|
protected BooleanQueryResultFormat |
BooleanQueryResultParserRegistry.getKey(BooleanQueryResultParserFactory factory) |
protected BooleanQueryResultFormat |
BooleanQueryResultWriterRegistry.getKey(BooleanQueryResultWriterFactory factory) |
static BooleanQueryResultFormat |
BooleanQueryResultFormat.register(String name,
String mimeType,
String fileExt)
Registers the specified boolean query result format.
|
| Modifier and Type | Method and Description |
|---|---|
static Collection<BooleanQueryResultFormat> |
BooleanQueryResultFormat.values()
Returns all known/registered boolean query result formats.
|
| Modifier and Type | Method and Description |
|---|---|
static BooleanQueryResultParser |
QueryResultIO.createParser(BooleanQueryResultFormat format)
Convenience methods for creating BooleanQueryResultParser objects.
|
static BooleanQueryResultWriter |
QueryResultIO.createWriter(BooleanQueryResultFormat format,
OutputStream out)
Convenience methods for creating BooleanQueryResultWriter objects.
|
static BooleanQueryResultFormat |
BooleanQueryResultFormat.forFileName(String fileName,
BooleanQueryResultFormat fallback)
Tries to determine the appropriate boolean file format for a file, based
on the extension specified in a file name.
|
static BooleanQueryResultFormat |
BooleanQueryResultFormat.forMIMEType(String mimeType,
BooleanQueryResultFormat fallback)
Tries to determine the appropriate boolean file format based on the a MIME
type that describes the content type.
|
static BooleanQueryResultFormat |
QueryResultIO.getBooleanParserFormatForFileName(String fileName,
BooleanQueryResultFormat fallback)
Tries to match the extension of a file name against the list of RDF
formats that can be parsed.
|
static BooleanQueryResultFormat |
QueryResultIO.getBooleanParserFormatForMIMEType(String mimeType,
BooleanQueryResultFormat fallback)
Tries to match a MIME type against the list of boolean query result
formats that can be parsed.
|
static BooleanQueryResultFormat |
QueryResultIO.getBooleanWriterFormatForFileName(String fileName,
BooleanQueryResultFormat fallback)
Tries to match the extension of a file name against the list of RDF
formats that can be written.
|
static BooleanQueryResultFormat |
QueryResultIO.getBooleanWriterFormatForMIMEType(String mimeType,
BooleanQueryResultFormat fallback)
Tries to match a MIME type against the list of boolean query result
formats that can be written.
|
static boolean |
QueryResultIO.parse(InputStream in,
BooleanQueryResultFormat format)
Parses a boolean query result document and returns the parsed value.
|
static void |
BooleanQueryResultFormat.register(BooleanQueryResultFormat format)
Registers the specified boolean query result format.
|
static void |
QueryResultIO.write(boolean value,
BooleanQueryResultFormat format,
OutputStream out)
Deprecated.
|
static void |
QueryResultIO.writeBoolean(boolean value,
BooleanQueryResultFormat format,
OutputStream out)
Writes a boolean query result document in a specific boolean query result
format to an output stream.
|
Copyright © 2001-2013 Aduna. All Rights Reserved.