Class Strings.StringsToJoin

    • Field Detail

      • strings

        private final String[] strings
        The Strings to join.
    • Constructor Detail

    • Method Detail

      • with

        public String with​(String delimiter)
        Specifies the delimiter to use to join Strings.
        Parameters:
        delimiter - the delimiter to use.
        Returns:
        the Strings joined using the given delimiter.
      • with

        public String with​(String delimiter,
                           String escapeString)
        Specifies the delimiter to use to join Strings and the escape String to wrap strings with.
        Parameters:
        delimiter - the delimiter to use.
        escapeString - the String wrapper to use.
        Returns:
        the Strings joined using the given delimiter.