public long lastModified(URI uri) throws IOException {
    IURIInputStreamResolver resolver = inputResolvers.get(uri.getScheme());

    if (resolver == null) {
      throw new UnsupportedSchemeException(uri.getScheme());
    }
    return resolver.lastModified(uri);
  }