예제 #1
0
 public URI getContentUri(Module module, String path) {
   CachedTOCJar jar = jars.get(module);
   if (jar != null && !jar.skipContents && jar.containsFile(path)) {
     return jar.getContentUri(path);
   }
   return null;
 }
예제 #2
0
 public URI getContentUri(String path) {
   for (CachedTOCJar jar : jars.values()) {
     if (!jar.skipContents && jar.containsFile(path)) {
       return jar.getContentUri(path);
     }
   }
   return null;
 }