code: public ResourceStructure parseStructure(String str) {
          Matcher matcher = RESOURCE_PATTERN.matcher(str);
          if (!matcher.find()) {
              logger.info("Did not find any scheme definition in resource path: {}. Using default scheme: {}.", str,
                      _defaultScheme);
              return new ResourceStructure(_defaultScheme, str);
          }
          String scheme = matcher.group(1);
          String path = matcher.group(2);
          return new ResourceStructure(scheme, path);
      }
docs: Parses a string in order to produce a {@link ResourceStructure} object
  
  @param str
  @return