Package org.reflections.vfs

Examples of org.reflections.vfs.ZipDir


        HttpDir(URL url) {
            this.path = url.toExternalForm();
            try {file = downloadTempLocally(url);}
            catch (IOException e) {throw new RuntimeException(e);}
            try { zipDir = new ZipDir(new JarFile(file)); } catch (Exception e) { throw new RuntimeException(e); }
        }
View Full Code Here


        // delegate unpacked archives to SystemDir handler
        if (deployment.isDirectory())
            return new SystemDir(toUrl(deployment.getAbsolutePath()));

        // if it's a file delegate to ZipDir handler
        ZipDir delegate = new ZipDir(toUrl("file:/" + deployment.getAbsolutePath()));
        return delegate;
    }
View Full Code Here

TOP

Related Classes of org.reflections.vfs.ZipDir

Copyright © 2018 www.massapicom. 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.