code: private String getPath(URL url) {
  		String path = url.toExternalForm();
  		return path.replaceAll("bundle://[^/]*/", "");
  	}
docs: remove bundle protocol specific part, so that resource can be accessed by
  path relative to bundle root