test_class.file: jena-sparql-api-utils/src/test/java/org/aksw/jena_sparql_api/utils/UriUtilsTest.java
test_class.identifier: UriUtilsTest
test_case.body: @Test
      public void test() {
          String r = UriUtils.replaceNamespace("http://example.org/resource/node123", "geometry");
          Assert.assertEquals("http://example.org/geometry/node123", r);
      }
test_case.class_method_signature: UriUtilsTest.test()
test_case.full_signature: @Test public void test()
test_case.identifier: test
test_case.invocations: replaceNamespace assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void test()
focal_class.declarator: replaceNamespacePattern = Pattern.compile("(?<=/)[^/]+(?=/[^/]+/*$)")
focal_class.modifier: public static final
focal_class.original_string: public static final Pattern replaceNamespacePattern = Pattern.compile("(?<=/)[^/]+(?=/[^/]+/*$)");
focal_class.type: Pattern
focal_class.var_name: replaceNamespacePattern
focal_class.file: jena-sparql-api-utils/src/main/java/org/aksw/jena_sparql_api/utils/UriUtils.java
focal_class.identifier: UriUtils
focal_class.class_method_signature: UriUtils.createMapFromUriQueryString(URI uri)
focal_class.full_signature: public static Map<String, String> createMapFromUriQueryString(URI uri)
focal_class.identifier: createMapFromUriQueryString
focal_class.modifiers: public static
focal_class.parameters: (URI uri)
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> createMapFromUriQueryString(URI uri)
focal_class.class_method_signature: UriUtils.getNameSpace(String s)
focal_class.full_signature: public static String getNameSpace(String s)
focal_class.identifier: getNameSpace
focal_class.modifiers: public static
focal_class.parameters: (String s)
focal_class.return: String
focal_class.signature: String getNameSpace(String s)
focal_class.class_method_signature: UriUtils.getLocalName(String s)
focal_class.full_signature: public static String getLocalName(String s)
focal_class.identifier: getLocalName
focal_class.modifiers: public static
focal_class.parameters: (String s)
focal_class.return: String
focal_class.signature: String getLocalName(String s)
focal_class.class_method_signature: UriUtils.replaceNamespace(String base, String replacement)
focal_class.full_signature: public static String replaceNamespace(String base, String replacement)
focal_class.identifier: replaceNamespace
focal_class.modifiers: public static
focal_class.parameters: (String base, String replacement)
focal_class.return: String
focal_class.signature: String replaceNamespace(String base, String replacement)
focal_class.class_method_signature: UriUtils.parseQueryString(String queryString)
focal_class.full_signature: public static Multimap<String, String> parseQueryString(String queryString)
focal_class.identifier: parseQueryString
focal_class.modifiers: public static
focal_class.parameters: (String queryString)
focal_class.return: Multimap<String, String>
focal_class.signature: Multimap<String, String> parseQueryString(String queryString)
focal_class.class_method_signature: UriUtils.parseQueryStringEx(String queryString)
focal_class.full_signature: public static Multimap<String, String> parseQueryStringEx(String queryString)
focal_class.identifier: parseQueryStringEx
focal_class.modifiers: public static
focal_class.parameters: (String queryString)
focal_class.return: Multimap<String, String>
focal_class.signature: Multimap<String, String> parseQueryStringEx(String queryString)
focal_method.body: public static String replaceNamespace(String base, String replacement) {
          Matcher m = replaceNamespacePattern.matcher(base);
          String result = m.replaceAll(replacement);
  
          //String result = base.replace("([^/]+)/([^/]+)$", replacement);
          return result;
      }
focal_method.class_method_signature: UriUtils.replaceNamespace(String base, String replacement)
focal_method.full_signature: public static String replaceNamespace(String base, String replacement)
focal_method.identifier: replaceNamespace
focal_method.invocations: matcher replaceAll
focal_method.modifiers: public static
focal_method.parameters: (String base, String replacement)
focal_method.return: String
focal_method.signature: String replaceNamespace(String base, String replacement)