Package com.inrupt.rdf.wrapping.commons
Class RDFFactory
- java.lang.Object
-
- com.inrupt.rdf.wrapping.commons.RDFFactory
-
public final class RDFFactory extends Object
Provider forCommons RDF implementation
s.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.commons.rdf.api.RDF
getInstance()
Creates an RDF implementation by using theServiceLoader.load(Class)
method.
-
-
-
Method Detail
-
getInstance
public static org.apache.commons.rdf.api.RDF 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
-
-