code: public void setDelimiter(final String delimiter) {
          String prefix = "";
          //escape the "pipe" character used in regular expression of String.split method
          if ("|".equals(delimiter)) {
              prefix = "\\";
          }
          this.delimiter = prefix + delimiter;
      }
docs: Set the delimiter to use.
  
  @param delimiter the delimiter to use