Class StringUtil.StringJoiner

java.lang.Object
org.jsoup.internal.StringUtil.StringJoiner
Enclosing class:
StringUtil

public static class StringUtil.StringJoiner
extends Object
A StringJoiner allows incremental / filtered joining of a set of stringable objects.
Since:
1.14.1
  • Constructor Details

    • StringJoiner

      public StringJoiner(String separator)
      Create a new joiner, that uses the specified separator. MUST call complete() or will leak a thread local string builder.
      Parameters:
      separator - the token to insert between strings
  • Method Details