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

framework.annotation.Separator Maven / Gradle / Ivy

package framework.annotation;

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

/**
 * separator
 */
@Target({ ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
public @interface Separator {

    /**
     * @return format
     */
    char value() default ',';

    /**
     * @return prefix
     */
    String prefix() default "\\s*[";

    /**
     * @return suffix
     */
    String suffix() default "]\\s*";

    /**
     * @return pair separator(for map)
     */
    char pair() default 0;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy