Package net.janino.util.resource

Examples of net.janino.util.resource.ResourceFinder


        DebuggingInformation debuggingInformation
    ) {
        super(parentClassLoader);

        // Process the source path.
        ResourceFinder sourceFinder = (
            optionalSourcePath == null ?
            (ResourceFinder) new DirectoryResourceFinder(new File(".")) :
            (ResourceFinder) new PathResourceFinder(optionalSourcePath)
        );
View Full Code Here


    private static IClassLoader createJavacLikePathIClassLoader(
        final File[] optionalBootClassPath,
        final File[] optionalExtDirs,
        final File[] classPath
    ) {
        ResourceFinder bootClassPathResourceFinder = new PathResourceFinder(
            optionalBootClassPath == null ?
            PathResourceFinder.parsePath(System.getProperty("sun.boot.class.path")):
            optionalBootClassPath
        );
        ResourceFinder extensionDirectoriesResourceFinder = new JarDirectoriesResourceFinder(
            optionalExtDirs == null ?
            PathResourceFinder.parsePath(System.getProperty("java.ext.dirs")):
            optionalExtDirs
        );
        ResourceFinder classPathResourceFinder = new PathResourceFinder(classPath);

        // We can load classes through "ResourceFinderIClassLoader"s, which means
        // they are read into "ClassFile" objects, or we can load classes through
        // "ClassLoaderIClassLoader"s, which means they are loaded into the JVM.
        //
View Full Code Here

TOP

Related Classes of net.janino.util.resource.ResourceFinder

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.