Package org.assertj.core.util
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 joinString
s using a given delimiter.- See Also:
Strings.join(String[])
-
-
Constructor Summary
Constructors Constructor Description StringsToJoin(String... strings)
Creates a new
.Strings.StringsToJoin
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
with(String delimiter)
Specifies the delimiter to use to joinString
s.String
with(String delimiter, String escapeString)
Specifies the delimiter to use to joinString
s and the escape String to wrap strings with.
-
-
-
Field Detail
-
strings
private final String[] strings
TheString
s to join.
-
-
Constructor Detail
-
StringsToJoin
StringsToJoin(String... strings)
Creates a new
.Strings.StringsToJoin
- Parameters:
strings
- theString
s to join.
-
-