Package org.apache.lenya.util

Examples of org.apache.lenya.util.CommandLineLogger


        // PDF files
        else if (file.getName().endsWith(".txt")) {
            parser = new PDFParserWrapper();
        } else {
            parser = new SwingHTMLParser();
            new CommandLineLogger(HTMLParserFactory.class).debug(".newInstance(): WARNING: Suffix did no match (" + file.getName()  + "). SwingHTMLParser as default parser selected!");
        }

        new CommandLineLogger(HTMLParserFactory.class).debug("returning a " + parser.getClass().getName() + " for " + file.getName());

        return parser;
    }
View Full Code Here


* @author  nobby
*/
public class PreParser {
    /** Creates a new instance of PreParser */
    public PreParser() {
        new CommandLineLogger(getClass()).log("creating new object");
    }
View Full Code Here

     * @param dumpDirectory DOCUMENT ME!
     * @param filter DOCUMENT ME!
     * @param create DOCUMENT ME!
     */
    public IndexInformation(String index, File dumpDirectory, FileFilter filter, boolean create) {
        CommandLineLogger logger = new CommandLineLogger(getClass());
        logger.log("collecting index information for index '" + index + "'...");

        creating = create;
        collectFiles(dumpDirectory, filter, index);
        this.startTime = new GregorianCalendar();

        logger.log(getFileNumber() + " files to index");
    }
View Full Code Here

*/
public class IndexInformation {
   
    public IndexInformation(String index, File dumpDirectory, FileFilter filter, boolean create) {
       
        CommandLineLogger logger = new CommandLineLogger(getClass());
        logger.log("collecting index information for index '" + index + "'...");

        creating = create;
        collectFiles(dumpDirectory, filter, index);
        this.startTime = new GregorianCalendar();

        logger.log(getFileNumber() + " files to index");
    }
View Full Code Here

        // PDF files
        else if (file.getName().endsWith(".txt")) {
            parser =  new PDFParserWrapper();
        }
       
        new CommandLineLogger(HTMLParserFactory.class).debug(
            "returning a " + parser.getClass().getName() + " for " + file.getName());
       
        return parser;
    }
View Full Code Here

*/
public class PreParser {
   
    /** Creates a new instance of PreParser */
    public PreParser() {
        new CommandLineLogger(getClass()).log("creating new object");
    }
View Full Code Here

TOP

Related Classes of org.apache.lenya.util.CommandLineLogger

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.