org.springframework.boot.convert

Annotation Type Delimiter



  • @Documented
     @Retention(value=RUNTIME)
     @Target(value={METHOD,FIELD,PARAMETER,ANNOTATION_TYPE})
    public @interface Delimiter
    Declares a field or method parameter should be converted to collection using the specified delimiter.
    Since:
    2.0.0
    • Field Summary

      Fields 
      Modifier and Type Fields and Description
      static java.lang.String NONE
      A delimiter value used to indicate that no delimiter is required and the result should be a single element containing the entire string.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element and Description
      java.lang.String value
      The delimiter to use or NONE if the entire contents should be treated as a single element.
    • Field Detail

      • NONE

        public static final java.lang.String NONE
        A delimiter value used to indicate that no delimiter is required and the result should be a single element containing the entire string.
    • Element Detail

      • value

        public abstract java.lang.String value
        The delimiter to use or NONE if the entire contents should be treated as a single element.
        Returns:
        the delimiter