com.univocity.parsers.annotations
Annotation Type Convert


@Retention(value=RUNTIME)
@Inherited
@Target(value=FIELD)
public @interface Convert

Assigns a custom implementation of Conversion to be executed when writing to/reading from the field.

Author:
uniVocity Software Pty Ltd - [email protected], uniVocity Software Pty Ltd - [email protected]
See Also:
Conversion, Conversions, BeanProcessor, BeanWriterProcessor

Required Element Summary
 Class<? extends Conversion> conversionClass
          A user provided implementation of Conversion which will be instantiated using the arguments provided by args()
 
Optional Element Summary
 String[] args
          The arguments to use when invoking the constructor of the class given by conversionClass().
 

Element Detail

conversionClass

public abstract Class<? extends Conversion> conversionClass
A user provided implementation of Conversion which will be instantiated using the arguments provided by args()

args

public abstract String[] args
The arguments to use when invoking the constructor of the class given by conversionClass().

Default:
{}


Copyright © 2014 uniVocity Software Pty Ltd. All rights reserved.