Class PlaceholderStringListConverter

  • All Implemented Interfaces:
    IListConverter
    Direct Known Subclasses:
    MailAddressListConverter

    public class PlaceholderStringListConverter
    extends AStringListConverter
    A converter for a list of Strings that respects placeholders. Strings are splitted by the given delimiters. This makes sure that if a delimiter occurs within a placeholder, the placeholder is not split. See the corresponding MailAddressListConverterTest for examples.
    Author:
    XIMA MEDIA GmbH
    • Field Detail

      • SEMICOLON_COMMA

        public static final IListConverter SEMICOLON_COMMA
        Splits email addresses by semicolons or commas. This constant is used in XHTML pages, if you rename this, search for occurrences in XHTML pages as well.
      • SEMICOLON_COMMA_SPACE

        public static final IListConverter SEMICOLON_COMMA_SPACE
        Splits email addresses by semicolons, commas or spaces. This constant is used in XHTML pages, if you rename this, search for occurrences in XHTML pages as well.
      • COMMA_TO_SELICOLON_COMMA_SPACE

        public static final IListConverter COMMA_TO_SELICOLON_COMMA_SPACE
        Splits by commas. This constant is used in XHTML pages, if you rename this, search for occurrences in XHTML pages as well.
    • Constructor Detail

      • PlaceholderStringListConverter

        public PlaceholderStringListConverter​(char mainDelimiter,
                                              String delimiters)