All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.code.joliratools.logdb.reader.Reader Maven / Gradle / Ivy

There is a newer version: 1.0.19
Show newest version
/**
 * 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