java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.util.URIUtil

public class URIUtil extends Object
Provides utility functions for URIs such as getting the fragment
  • Constructor Details

    • URIUtil

      public URIUtil()
  • Method Details

    • getUriFragment

      public static String getUriFragment(String uri)
      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