Package org.opensolaris.opengrok.analysis.FileAnalyzer

Examples of org.opensolaris.opengrok.analysis.FileAnalyzer.Genre.typeName()


        }

        if (fa != null) {
            Genre g = fa.getGenre();
            if (g == Genre.PLAIN || g == Genre.XREFABLE || g == Genre.HTML) {
                doc.add(new Field(QueryBuilder.T, g.typeName(), string_ft_stored_nanalyzed_norms
                    ));
            }                  
            fa.analyze(doc, StreamSource.fromFile(file), xrefOut);
           
            String type = fa.getFileTypeName();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.