Top Description Methods
com.opencsv.bean.processor

public @Interface PreAssignmentProcessor

extends Annotation
Annotations
@Documented
@Retention:RUNTIME
@Target:FIELD
Imports
java.lang.annotation.*

Specifies the binding of a processor to a field in a bean. This processor will run against the string that will be converted and assigned to the field and will be run prior to the validation and conversion.
Author
Scott Conway
Since
5.0

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

Parameter string required by the StringProcessor
paramString
()

This is used to store additional information needed by the StringProcessor.

public Class<? extends StringProcessor>

Returns:

The class of the processor that will process the bean field string value
processor
()

Returns the processor that will process the string.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

paramStringback to summary
public String paramString()

This is used to store additional information needed by the StringProcessor. This could, for example, be a default value so the same processor could be used by different fields.

Returns:String

Parameter string required by the StringProcessor

processorback to summary
public Class<? extends StringProcessor> processor()

Returns the processor that will process the string.

Returns:Class<? extends StringProcessor>

The class of the processor that will process the bean field string value