Package org.eclipse.rdf4j.rio
Class RDFParserRegistry
java.lang.Object
org.eclipse.rdf4j.common.lang.service.ServiceRegistry<FF,S>
org.eclipse.rdf4j.common.lang.service.FileFormatServiceRegistry<RDFFormat,RDFParserFactory>
org.eclipse.rdf4j.rio.RDFParserRegistry
A registry that keeps track of the available
RDFParserFactorys.- Author:
- Arjohn Kampman
-
Field Summary
Fields inherited from class org.eclipse.rdf4j.common.lang.service.ServiceRegistry
logger, services -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RDFParserRegistryGets the default RDFParserRegistry.protected RDFFormatgetKey(RDFParserFactory factory) Gets the key for the specified service.Methods inherited from class org.eclipse.rdf4j.common.lang.service.FileFormatServiceRegistry
getFileFormatForFileName, getFileFormatForMIMEType
-
Constructor Details
-
RDFParserRegistry
public RDFParserRegistry()
-
-
Method Details
-
getInstance
Gets the default RDFParserRegistry.- Returns:
- The default registry.
-
getKey
Description copied from class:ServiceRegistryGets the key for the specified service.- Specified by:
getKeyin classServiceRegistry<RDFFormat,RDFParserFactory> - Parameters:
factory- The service to get the key for.- Returns:
- The key for the specified service.
-