Package com.inrupt.rdf.wrapping.commons
Class RDFFactory
java.lang.Object
com.inrupt.rdf.wrapping.commons.RDFFactory
Provider for
Commons RDF implementations.-
Method Summary
Modifier and TypeMethodDescriptionstatic RDFCreates an RDF implementation by using theServiceLoader.load(Class)method.
-
Method Details
-
getInstance
Creates an RDF implementation by using theServiceLoader.load(Class)method.- Returns:
- the first RDF implementation found
- Throws:
IllegalStateException- if there are no available RDF implementations
-