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

com.github.mygreen.supercsv.cellprocessor.conversion.ReplacedWordProvider Maven / Gradle / Ivy

Go to download

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

There is a newer version: 2.3
Show newest version
package com.github.mygreen.supercsv.cellprocessor.conversion;

import java.util.Collection;

import com.github.mygreen.supercsv.annotation.conversion.CsvWordReplace;
import com.github.mygreen.supercsv.builder.FieldAccessor;

/**
 * {@link CsvWordReplace}による置換語彙を提供するためのインタフェースです。
 * 

語彙を別ファイルやDBから取得する時などサービスクラスとして実装します。

* * @since 2.0 * @author T.TSUCHIE * */ @FunctionalInterface public interface ReplacedWordProvider { /** * 語彙の一覧を取得する。 * @param field フィールド情報 * @return 語彙を返します。チェック対象の文字がない場合は、空のリストを返します。 */ Collection getReplacedWords(FieldAccessor field); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy