![JAR search and dependency download from the Maven repository](/logo.png)
org.supercsv.ext.builder.DefaultCellProcessorBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of super-csv-annotation Show documentation
Show all versions of super-csv-annotation Show documentation
CSVのJavaライブラリであるSuperCSVに、アノテーション機能を追加したライブラリです。
package org.supercsv.ext.builder;
import java.lang.annotation.Annotation;
import java.util.Optional;
import org.supercsv.cellprocessor.ift.CellProcessor;
/**
* デフォルトの{@link CellProcessorBuilder}。
* 固有の{@link CellProcessor}の組み立ては行わない。
*
* @version 1.1
* @author T.TSUCHIE
*
*/
public class DefaultCellProcessorBuilder extends AbstractCellProcessorBuilder>{
public static DefaultCellProcessorBuilder INSTANCE = new DefaultCellProcessorBuilder();
@Override
public CellProcessor buildOutputCellProcessor(final Class> type, final Annotation[] annos,
CellProcessor cllProcessor, final boolean ignoreValidationProcessor) {
return cllProcessor;
}
@Override
public CellProcessor buildInputCellProcessor(final Class> type, final Annotation[] annos,
final CellProcessor cellProcessor) {
return cellProcessor;
}
/**
* 空の値を返す。
*/
@Override
public Optional> parseValue(final Class> type, final Annotation[] annos, final String defaultValue) {
return Optional.empty();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy