Package org.iirds.rdf
Class IRIUtils
java.lang.Object
org.iirds.rdf.IRIUtils
Utility methods to generate IRIs
- Author:
- Martin Kreutzer, Empolis Information Management GmbH
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgenerateIRIBasedOnLabel(String classURI, String label) Create a unique IRI for the class URI and the label.static StringCreates a unique IRI using the UUID scheme.
-
Method Details
-
generateUniqueIRI
Creates a unique IRI using the UUID scheme.- Returns:
- the IRI
-
generateIRIBasedOnLabel
Create a unique IRI for the class URI and the label. When calling the method the same parameters again, the same IRI will be returned.- Parameters:
classURI- the IRI if of the metadata classlabel- the label- Returns:
- the IRI
-