Package jetbrick.template.resource.loader

Examples of jetbrick.template.resource.loader.CompiledClassResourceLoader


    private ResourceLoader createResourceLoader() {
        try {
            ResourceLoader resourceLoader;
            if (config.getCompileStrategy() == CompileStrategy.none) {
                // 这种情况下,使用自定义的 ResourceLoader
                resourceLoader = new CompiledClassResourceLoader();
            } else {
                resourceLoader = (ResourceLoader) config.getTemplateLoader().newInstance();
            }
            resourceLoader.initialize(this, config.getTemplatePath(), config.getInputEncoding());
            return resourceLoader;
View Full Code Here

TOP

Related Classes of jetbrick.template.resource.loader.CompiledClassResourceLoader

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.