Here you can find the source of parseURI(final String string)
public static URI parseURI(final String string)
//package com.java2s; //License from project: Apache License import java.net.URI; public class Main { public static URI parseURI(final String string) { return URI.create(string); }//w ww .ja v a 2s . c om }