Class Strings.StringsToJoin

java.lang.Object
org.assertj.core.util.Strings.StringsToJoin
Enclosing class:
Strings

public static class Strings.StringsToJoin extends Object
Knows how to join Strings using a given delimiter.
See Also:
  • Method Details

    • 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.