Class DummyHyphenator

    • Constructor Detail

      • DummyHyphenator

        public DummyHyphenator()
    • Method Detail

      • hyphenate

        public String hyphenate​(String phrase)
        Description copied from interface: HyphenatorInterface
        Hyphenates the phrase, inserting soft hyphens at all possible breakpoints.
        Specified by:
        hyphenate in interface HyphenatorInterface
        Parameters:
        phrase - the phrase to hyphenate
        Returns:
        the hyphenated string
      • getBeginLimit

        public int getBeginLimit()
        Description copied from interface: HyphenatorInterface
        Gets the begin limit. In other words, the number of unbreakable characters at the beginning of each word.
        Specified by:
        getBeginLimit in interface HyphenatorInterface
        Returns:
        returns the begin limit
      • setBeginLimit

        public void setBeginLimit​(int beginLimit)
        Description copied from interface: HyphenatorInterface
        Sets the begin limit. In other words, the number of unbreakable characters at the beginning of each word.
        Specified by:
        setBeginLimit in interface HyphenatorInterface
        Parameters:
        beginLimit - the begin limit
      • getEndLimit

        public int getEndLimit()
        Description copied from interface: HyphenatorInterface
        Gets the end limit. In other words, the number of unbreakable characters at the end of each word.
        Specified by:
        getEndLimit in interface HyphenatorInterface
        Returns:
        returns the end limit
      • setEndLimit

        public void setEndLimit​(int endLimit)
        Description copied from interface: HyphenatorInterface
        Sets the end limit. In other words, the number of unbreakable characters at the end of each word.
        Specified by:
        setEndLimit in interface HyphenatorInterface
        Parameters:
        endLimit - the end limit