Package net.paoding.rose.scanning.vfs

Examples of net.paoding.rose.scanning.vfs.FileObject


                urlString = ResourceUtils.URL_PROTOCOL_JAR + ":" + resourceFile.toURI()
                        + ResourceUtils.JAR_URL_SEPARATOR;
            } else {
                urlString = resourceFile.toURI().toString();
            }
            FileObject rootObject = fileSystem.resolveFile(urlString);
            if (rootObject == null || !rootObject.exists()) {
                if (logger.isDebugEnabled()) {
                    logger.debug("[moduleResource] Ignored because not exists: " + urlString);
                }
                continue;
            }
View Full Code Here


        String[] interceptedAllow = null;
        String[] interceptedDeny = null;

        ModuleResource parentModule = local.moduleResourceMap.get(candidate.getParent());
        // 如果rose.properties设置了controllers的module.path?
        FileObject rosePropertiesFile = candidate.getChild("rose.properties");
        if (rosePropertiesFile != null && rosePropertiesFile.exists()) {
            Properties p = new Properties();
            InputStream in = rosePropertiesFile.getContent().getInputStream();
            p.load(in);
            in.close();

            // 如果controllers=ignored,则...
            String ignored = p.getProperty(CONF_MODULE_IGNORED, "false").trim();
View Full Code Here

TOP

Related Classes of net.paoding.rose.scanning.vfs.FileObject

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.