com.evrythng.commons.annotations.csv.CsvSerializer Maven / Gradle / Ivy
/*
* (c) Copyright 2014 EVRYTHNG Ltd London / Olten
* www.evrythng.com
*/
package com.evrythng.commons.annotations.csv;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Used by the Csv MapperProvider.
* Marks the class to be rendered as a value in the CSV output,
* using the given method name. If omitted, toString is used.
**/
@Target(value = ElementType.TYPE)
@Retention(value = RetentionPolicy.RUNTIME)
public @interface CsvSerializer {
public String value() default "toString";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy