Class AbstractRegexBasedTermSplitter

java.lang.Object
docking.widgets.filter.AbstractRegexBasedTermSplitter
All Implemented Interfaces:
TermSplitter
Direct Known Subclasses:
CharacterTermSplitter

public abstract class AbstractRegexBasedTermSplitter extends Object implements TermSplitter
Allows the user to split a string using a regex as the delimiter.
  • Constructor Details

    • AbstractRegexBasedTermSplitter

      public AbstractRegexBasedTermSplitter(String delimiter)
  • Method Details

    • split

      public String[] split(String input)
      Description copied from interface: TermSplitter
      Returns a given string an array of terms.
      Specified by:
      split in interface TermSplitter
      Parameters:
      input - the string to split
      Returns:
      array of terms