- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for toZipFilePath (0.1 sec)
-
src/test/java/org/codelibs/core/zip/ZipFileUtilTest.java
return null; } }); final String root = new File("/").getCanonicalPath(); assertEquals(root + "Program Files" + File.separator + "foo.zip", ZipFileUtil.toZipFilePath(url)); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/zip/ZipFileUtil.java
assertArgumentNotNull("zipUrl", zipUrl); return create(new File(toZipFilePath(zipUrl))); } /** * URLで指定されたZipファイルのパスを返します。 * * @param zipUrl * Zipファイルを示すURL。{@literal null}であってはいけません * @return URLで指定されたZipファイルのパス */ public static String toZipFilePath(final URL zipUrl) { assertArgumentNotNull("zipUrl", zipUrl);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
addTraverserFactory("jar", JarFileTraverser::new); addTraverserFactory("zip", (url, rootPackage, rootDir) -> new JarFileTraverser(JarFileUtil.create(new File(ZipFileUtil.toZipFilePath(url))), rootPackage, rootDir)); addTraverserFactory("code-source", (url, rootPackage, rootDir) -> new JarFileTraverser(URLUtil.create("jar:file:" + url.getPath()), rootPackage, rootDir));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 19.5K bytes - Viewed (0)