116117118119120121122123124125126
{ idx = length; } try { r = new URLResource(factory, new URL(path.substring(0, idx))); } catch (MalformedURLException e) { throw new RuntimeException(e); }