Class URIUtil
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.util.URIUtil
Provides utility functions for URIs such as getting the fragment
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getUriFragment
(String uri) Return the fragment of the URI which is the part after the last hashtag (#) or last slash(/).
-
Constructor Details
-
URIUtil
public URIUtil()
-
-
Method Details
-
getUriFragment
Return the fragment of the URI which is the part after the last hashtag (#) or last slash(/). If the uri contains no hashtag nor slash it will return the full unmodified uri.- Parameters:
uri
- The full uri as string- Returns:
- fragment
-