Package org.eclipse.rdf4j.rio
Class RDFWriterRegistry
java.lang.Object
org.eclipse.rdf4j.common.lang.service.ServiceRegistry<RDFFormat,RDFWriterFactory>
org.eclipse.rdf4j.common.lang.service.FileFormatServiceRegistry<RDFFormat,RDFWriterFactory>
org.eclipse.rdf4j.rio.RDFWriterRegistry
A registry that keeps track of the available
RDFWriterFactory
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 TypeMethodDescriptionstatic RDFWriterRegistry
Gets the default RDFWriterRegistry.protected RDFFormat
getKey
(RDFWriterFactory factory) Gets the key for the specified service.Methods inherited from class org.eclipse.rdf4j.common.lang.service.FileFormatServiceRegistry
getFileFormatForFileName, getFileFormatForMIMEType
-
Constructor Details
-
RDFWriterRegistry
public RDFWriterRegistry()
-
-
Method Details
-
getInstance
Gets the default RDFWriterRegistry.- Returns:
- The default registry.
-
getKey
Description copied from class:ServiceRegistry
Gets the key for the specified service.- Specified by:
getKey
in classServiceRegistry<RDFFormat,
RDFWriterFactory> - Parameters:
factory
- The service to get the key for.- Returns:
- The key for the specified service.
-