code: @Override
      public InternalWsResource resolveResource(URI resourceURI) {
          if (resourceURI == null)
              return null;
  
          String scheme = resourceURI.getScheme();
          if (scheme == null || scheme.equals("file")) {
              // make sure to normalize the resourceURI to ensure consistent path
              // construction
              // i.e. no leading slash for windows absolute path, etc.
              String normalPath = PathUtils.normalize(resourceURI.getPath());
              SymbolicRootResource root = resolveRoot(normalPath);
              return LocalFileResource.newResource(normalPath, null, root);
          } else {
              try {
                  return new RemoteResource(resourceURI.toURL());
              } catch (MalformedURLException e) {
                  return null;
              }
          }
  
      }
docs: {@inheritDoc}