public static String getAbsolutePath(DocletWriter writer, Resource resource) { return addContextPath(writer.getConfiguration(), resource.getAbsolutePath()); }
public static String getDisplayURL( DocletWriter writer, Resource resource, ResourceMethod method) { return addContextPath(writer.getConfiguration(), method.getURL(resource)); }