Add factory method of Path object to String, String[], List<String> and URI.