Package org.exist.source

Examples of org.exist.source.FileSource


            if (LOG.isTraceEnabled()) {
                LOG.trace("Found controller file: " + controllerFile.getAbsolutePath());
            }
            final String parentPath = controllerFile.getParentFile().getAbsolutePath();
           
            sourceInfo = new SourceInfo(new FileSource(controllerFile, "UTF-8", true), parentPath);
            sourceInfo.controllerPath = parentPath.substring(baseDir.getAbsolutePath().length());
            // replace windows path separators
            sourceInfo.controllerPath = sourceInfo.controllerPath.replace('\\', '/');
           
            return sourceInfo;
View Full Code Here

TOP

Related Classes of org.exist.source.FileSource

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.