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
-
public class RDFParserRegistry extends FileFormatServiceRegistry<RDFFormat,RDFParserFactory>
A registry that keeps track of the availableRDFParserFactory
s.- Author:
- Arjohn Kampman
-
-
Field Summary
-
Fields inherited from class org.eclipse.rdf4j.common.lang.service.ServiceRegistry
logger, services
-
-
Constructor Summary
Constructors Constructor Description RDFParserRegistry()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RDFParserRegistry
getInstance()
Gets the default RDFParserRegistry.protected RDFFormat
getKey(RDFParserFactory 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 RDFParserRegistry getInstance()
Gets the default RDFParserRegistry.- Returns:
- The default registry.
-
getKey
protected RDFFormat getKey(RDFParserFactory factory)
Description copied from class:ServiceRegistry
Gets the key for the specified service.- Specified by:
getKey
in classServiceRegistry<RDFFormat,RDFParserFactory>
- Parameters:
factory
- The service to get the key for.- Returns:
- The key for the specified service.
-
-