Here you can find the source of resolveAbsoluteURI(final URI relativeURI)
private static URI resolveAbsoluteURI(final URI relativeURI)
//package com.java2s; //License from project: LGPL import java.io.File; import java.net.URI; public class Main { private static URI resolveAbsoluteURI(final URI relativeURI) { return getHtdocsDirectory().toURI().resolve(relativeURI); }/*from w w w .java 2s .co m*/ private static File getHtdocsDirectory() { return new File("htdocs"); } }