Class StringBuilder

java.lang.Object
rs.baselib.test.StringBuilder
All Implemented Interfaces:
Builder<String>

public class StringBuilder extends Object implements Builder<String>
A string builder.
Author:
ralph
  • Constructor Details

    • StringBuilder

      public StringBuilder()
      Constructor.
  • Method Details

    • withPattern

      public StringBuilder withPattern(String pattern)
      Parameters:
      pattern - - the format pattern that contains %s for the uniqueness.
      Returns:
      this builder for concatenation
    • build

      public String build()
      Build the previously configured object.
      Specified by:
      build in interface Builder<String>
      Returns:
      the built object