org.assertj.core.util
Class Strings.StringsToJoin

java.lang.Object
  extended by 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:
Strings.join(String[])

Method Summary
 String with(String delimiter)
          Specifies the delimiter to use to join Strings.
 String with(String delimiter, String escapeString)
          Specifies the delimiter to use to join Strings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.

Parameters:
delimiter - the delimiter to use.
Returns:
the Strings joined using the given delimiter.


Copyright © 2013–2015 AssertJ. All rights reserved.