Package org.eclipse.rdf4j.query.resultio
Class TupleQueryResultWriterRegistry
java.lang.Object
org.eclipse.rdf4j.common.lang.service.ServiceRegistry<QueryResultFormat,TupleQueryResultWriterFactory>
org.eclipse.rdf4j.common.lang.service.FileFormatServiceRegistry<QueryResultFormat,TupleQueryResultWriterFactory>
org.eclipse.rdf4j.query.resultio.TupleQueryResultWriterRegistry
public class TupleQueryResultWriterRegistry
extends FileFormatServiceRegistry<QueryResultFormat,TupleQueryResultWriterFactory>
A registry that keeps track of the available
TupleQueryResultWriterFactory
s.- Author:
- Arjohn Kampman
-
Field Summary
Fields inherited from class org.eclipse.rdf4j.common.lang.service.ServiceRegistry
logger, services
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the default TupleQueryResultWriterRegistry.protected QueryResultFormat
getKey
(TupleQueryResultWriterFactory factory) Gets the key for the specified service.Methods inherited from class org.eclipse.rdf4j.common.lang.service.FileFormatServiceRegistry
getFileFormatForFileName, getFileFormatForMIMEType
-
Constructor Details
-
TupleQueryResultWriterRegistry
public TupleQueryResultWriterRegistry()
-
-
Method Details
-
getInstance
Gets the default TupleQueryResultWriterRegistry.- Returns:
- The default registry.
-
getKey
Description copied from class:ServiceRegistry
Gets the key for the specified service.- Specified by:
getKey
in classServiceRegistry<QueryResultFormat,
TupleQueryResultWriterFactory> - Parameters:
factory
- The service to get the key for.- Returns:
- The key for the specified service.
-