Package org.eclipse.rdf4j.rio
Class RDFWriterRegistry
- java.lang.Object
-
- org.eclipse.rdf4j.common.lang.service.ServiceRegistry<FF,S>
-
- org.eclipse.rdf4j.common.lang.service.FileFormatServiceRegistry<RDFFormat,RDFWriterFactory>
-
- org.eclipse.rdf4j.rio.RDFWriterRegistry
-
public class RDFWriterRegistry extends FileFormatServiceRegistry<RDFFormat,RDFWriterFactory>
A registry that keeps track of the availableRDFWriterFactorys.- Author:
- Arjohn Kampman
-
-
Field Summary
-
Fields inherited from class org.eclipse.rdf4j.common.lang.service.ServiceRegistry
logger, services
-
-
Constructor Summary
Constructors Constructor Description RDFWriterRegistry()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RDFWriterRegistrygetInstance()Gets the default RDFWriterRegistry.protected RDFFormatgetKey(RDFWriterFactory factory)Gets the key for the specified service.-
Methods inherited from class org.eclipse.rdf4j.common.lang.service.FileFormatServiceRegistry
getFileFormatForFileName, getFileFormatForMIMEType
-
-
-
-
Method Detail
-
getInstance
public static RDFWriterRegistry getInstance()
Gets the default RDFWriterRegistry.- Returns:
- The default registry.
-
getKey
protected RDFFormat getKey(RDFWriterFactory factory)
Description copied from class:ServiceRegistryGets the key for the specified service.- Specified by:
getKeyin classServiceRegistry<RDFFormat,RDFWriterFactory>- Parameters:
factory- The service to get the key for.- Returns:
- The key for the specified service.
-
-