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