Class PrefixOf

  • All Implemented Interfaces:
    Text

    public final class PrefixOf
    extends TextEnvelope
    Returns a text that is before given boundary.

    There is no thread-safety guarantee.

    Since:
    1.0
    • Constructor Detail

      • PrefixOf

        public PrefixOf​(CharSequence text,
                        CharSequence boundary)
        Ctor.
        Parameters:
        text - CharSequence representing the text value
        boundary - CharSequence to which text will be split
      • PrefixOf

        public PrefixOf​(Text text,
                        CharSequence boundary)
        Ctor.
        Parameters:
        text - Text representing the text value
        boundary - String to which text will be split