private URI toUri ( final String path ) { try { return new URI ( null , null , path , null ) ; } catch ( URISyntaxException e ) { throw new IllegalArgumentException ( e ) ; } }
Converts from String to URI .