Package com.asakusafw.compiler.common

Examples of com.asakusafw.compiler.common.ZipRepository


                    scanPath));
        }
        if (scanPath.isDirectory()) {
            return new FileRepository(scanPath);
        } else if (scanPath.isFile() && (name.endsWith(".zip") || name.endsWith(".jar"))) {
            return new ZipRepository(scanPath);
        } else {
            throw new IOException(MessageFormat.format(
                    "{0}を開けません",
                    scanPath));
        }
View Full Code Here


            }
            saw.add(file);
            if (file.isDirectory()) {
                results.add(new FileRepository(file));
            } else if (file.isFile() && file.getName().endsWith(".zip")) {
                results.add(new ZipRepository(file));
            } else if (file.isFile() && file.getName().endsWith(".jar")) {
                results.add(new ZipRepository(file));
            } else {
                LOG.warn("{}は不明な形式のため、無視されます", file);
            }
        }
        return results;
View Full Code Here

TOP

Related Classes of com.asakusafw.compiler.common.ZipRepository

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.