Examples of JarEntryResource


Examples of org.auto.io.JarEntryResource

      String entryPath = entry.getName();
      if (entryPath.startsWith(rootEntryPath)) {
        String relativePath = entryPath.substring(rootEntryPath
            .length());
        if (getPathMatcher().match(subPattern, relativePath)) {
          Resource resource = new JarEntryResource(jarFile, entry);
          handler.handle(resource);
        }
      }
    }
  }
View Full Code Here

Examples of org.nutz.resource.impl.JarEntryResource

        if (entry.getName().endsWith("/"))// 明显是文件夹
          return null;
        JarEntry e2 = jar.getJarEntry(jeInfo.getEntryName() + "/");
        if (e2 != null) // 加个/,还是能找到?! 那肯定是文件夹了!
          return null;
        return new JarEntryResource(jeInfo);
      }
    }
    catch (IOException e) {}
    return null;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.