com.google.code.joliratools.logdb.reader.Reader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of parser Show documentation
Show all versions of parser Show documentation
An efficient parser for Java-style log records.
/**
* Copyright (c) 2010 jolira. All rights reserved. This program and the accompanying materials are made available under
* the terms of the GNU Public License 2.0 which is available at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
package com.google.code.joliratools.logdb.reader;
import java.io.IOException;
import com.google.code.joliratools.logdb.parser.ParseException;
import com.google.code.joliratools.logdb.parser.Parser;
/**
* @author jfk
* @date Sep 14, 2010 10:56:15 PM
* @since 1.0
*/
public interface Reader {
/**
* Read an entry from a parser.
*
* @param parser
* the parser to read.
* @return the entry
* @throws IOException
* could not read
* @throws ParseException
* could not parse
*/
Entry getNext(Parser parser) throws IOException, ParseException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy