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

me.landmesser.simplecsv.annotation.CSVColumnName Maven / Gradle / Ivy

Go to download

Module that allows exporting Java beans into CSV format. Configuration can be done via annotations. Under the hood, apache commons csv is used for writing

There is a newer version: 1.0
Show newest version
package me.landmesser.simplecsv.annotation;

import me.landmesser.simplecsv.ColumnNameStyle;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Sets the name of the field in the header.
 * 

* If not present, the field name is converted according to the * {@link ColumnNameStyle}, which is {@link ColumnNameStyle#CAPITALIZED} by default. *

* You can change the default by adding the annotation {@link CSVDefaultColumnName} * at class level. */ @Target(ElementType.FIELD) @Retention(RetentionPolicy.RUNTIME) public @interface CSVColumnName { String value(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy