Interface IWordSplitter

  • All Known Implementing Classes:
    NonAlphaNumWordSplitter

    public interface IWordSplitter
    Interface for defining a strategy how to split a word.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2013 Created on Sep 5, 2013
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String[] split​(java.lang.String word)
      Split the word into its parts based on the defined criteria.
    • Method Detail

      • split

        java.lang.String[] split​(java.lang.String word)
        Split the word into its parts based on the defined criteria. The delimiters are retained.
        PRE: the input is a single word: word.split() == {word}
        Parameters:
        word - single word.
        Returns:
        array of separated words.