Package org.freud.analysed.javasource.jdom

Examples of org.freud.analysed.javasource.jdom.JavaSourceJdomFromFileCreator


    }

    @SuppressWarnings("unchecked")
    public static Iterable<JavaSource> javaSourceOf(FreudSource source) {
        if (File.class.equals(source.getType())) {
            return new AnalysedObjects<File, JavaSource>(new JavaSourceJdomFromFileCreator(), source.getSources());
        }
        if (URL.class.equals(source.getType())) {
            return new AnalysedObjects<URL, JavaSource>(new JavaSourceJdomFromUrlCreator(), source.getSources());
        }
        throw new UnsupportedOperationException("Unsupported conversion " + source.getType() + " to JavaSource");
View Full Code Here

TOP

Related Classes of org.freud.analysed.javasource.jdom.JavaSourceJdomFromFileCreator

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.