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

ru.d_shap.csv.handler.CsvConfigurable Maven / Gradle / Ivy

The newest version!
///////////////////////////////////////////////////////////////////////////////////////////////////
// CSV parser converts source stream to rows and columns and vice versa.
// Copyright (C) 2016 Dmitry Shapovalov.
//
// This file is part of CSV parser.
//
// CSV parser is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// CSV parser is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see .
///////////////////////////////////////////////////////////////////////////////////////////////////
package ru.d_shap.csv.handler;

import ru.d_shap.csv.CsvParserConfiguration;

/**
 * Interface to configure CSV parser. If {@link CsvEventHandler} object also implements this interface,
 * then {@link CsvEventHandler} object can modify CSV parser behaviour.
 *
 * @author Dmitry Shapovalov
 */
public interface CsvConfigurable {

    /**
     * Configure CSV parser.
     *
     * @param csvParserConfiguration CSV parser configuration object.
     */
    void configure(CsvParserConfiguration csvParserConfiguration);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy