Here you can find the source of getHostUri()
public static URI getHostUri()
//package com.java2s; import java.net.URI; import java.util.Properties; public class Main { static Properties properties = new Properties(); public static URI getHostUri() { return getProperty("host.uri"); }// w w w . j a v a2 s . c o m public static URI getProperty(String property) { String propertyValue = properties.getProperty(property); if (propertyValue == null) { return null; } return URI.create(propertyValue); } }