Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for JarFileTraverser (0.08 sec)

  1. src/test/java/org/codelibs/core/io/TraverserUtilTest.java

    import junit.framework.TestCase;
    import junit.textui.ResultPrinter;
    import junit.textui.TestRunner;
    
    import org.codelibs.core.io.TraversalUtil.FileSystemTraverser;
    import org.codelibs.core.io.TraversalUtil.JarFileTraverser;
    import org.codelibs.core.io.xxx.DummyTest;
    import org.codelibs.core.lang.ClassUtil;
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class TraverserUtilTest {
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. 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