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