Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for toZipFilePath (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
Back to top