code: public void setBreakIterator(BreakIterator breakiter) {
          search_.setBreakIter(breakiter);
          if (search_.breakIter() != null) {
              // Create a clone of CharacterItearator, so it won't
              // affect the position currently held by search_.text()
              if (search_.text() != null) {
                  search_.breakIter().setText((CharacterIterator)search_.text().clone());
              }
          }
      }
docs: Set the BreakIterator that will be used to restrict the points
  at which matches are detected.
  
  @param breakiter A BreakIterator that will be used to restrict the
  points at which matches are detected. If a match is
  found, but the match's start or end index is not a
  boundary as determined by the {@link BreakIterator},
  the match will be rejected and another will be searched
  for. If this parameter is <tt>null</tt>, no break
  detection is attempted.
  @see BreakIterator