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

org.supercsv.ext.builder.CellProcessorBuilder Maven / Gradle / Ivy

Go to download

CSVのJavaライブラリであるSuperCSVに、アノテーション機能を追加したライブラリです。

There is a newer version: 2.3
Show newest version
package org.supercsv.ext.builder;

import java.lang.annotation.Annotation;

import org.supercsv.cellprocessor.ift.CellProcessor;


/**
 * {@link CellProcessor}を組み立てるためのインタフェース。
 * 
 * @param  処理対象のクラスタイプ。
 * @since 1.1
 * @author T.TSUCHIE
 *
 */
public interface CellProcessorBuilder {
    
    /**
     * 書き込み用の{@link CellProcessor}を組み立てる。
     * @param type フィールドのクラスタイプ。
     * @param annos フィールドに付与された全てのアノテーション。
     * @param ignoreValidationProcessor 値がtrueの場合、最大値の検証などの制約チェックをするCellProcessorは無視し、組み込まない。
     * @return 組み立てた{@link CellProcessor}。
     */
    CellProcessor buildOutputCellProcessor(Class type, Annotation[] annos, boolean ignoreValidationProcessor);
    
    /**
     * 読み込み用の{@link CellProcessor}を組み立てる。
     * @param type フィールドのクラスタイプ。
     * @param annos フィールドに付与された全てのアノテーション。
     * @return 組み立てた{@link CellProcessor}。
     */
    CellProcessor buildInputCellProcessor(Class type, Annotation[] annos);
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy