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

org.supercsv.ext.builder.DefaultCellProcessorBuilder 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 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