Package ch.akuhn.hapax.util.Ziperator

Examples of ch.akuhn.hapax.util.Ziperator.Entry


        else smartImportZipArchive(file, extensions);
    }

    private void smartImportZipArchive(File file, String... extensions) {
        // first try to get files from nested sources
        Entry nestedSources = null;
        for (Entry each: new Ziperator(file)) {
            if (nestedSources == null && each.isSourceArchive()) nestedSources = each;
            if (each.parent != null && each.parent == nestedSources) {
                for (String ext: extensions) {
                    if (each.entry.getName().endsWith(ext)) {
View Full Code Here

TOP

Related Classes of ch.akuhn.hapax.util.Ziperator.Entry

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.