Class StringFlowable


  • public final class StringFlowable
    extends Object
    Utility class for String operations with Flowables.
    • Method Detail

      • characters

        public static Flowable<Integer> characters​(CharSequence string)
        Signals each character of the given string CharSequence as Integers.
        Parameters:
        string - the source of characters
        Returns:
        the new Flowable instance
      • split

        public static FlowableTransformer<String,​String> split​(Pattern pattern)
        Splits the input sequence of strings based on a pattern even across subsequent elements if needed.
        Parameters:
        pattern - the Rexexp pattern to split along
        Returns:
        the new FlowableTransformer instance
        Since:
        0.13.0
      • split

        public static FlowableTransformer<String,​String> split​(Pattern pattern,
                                                                     int bufferSize)
        Splits the input sequence of strings based on a pattern even across subsequent elements if needed.
        Parameters:
        pattern - the Rexexp pattern to split along
        bufferSize - the number of items to prefetch from the upstream
        Returns:
        the new FlowableTransformer instance
        Since:
        0.13.0
      • split

        public static FlowableTransformer<String,​String> split​(String pattern)
        Splits the input sequence of strings based on a pattern even across subsequent elements if needed.
        Parameters:
        pattern - the Rexexp pattern to split along
        Returns:
        the new FlowableTransformer instance
        Since:
        0.13.0
      • split

        public static FlowableTransformer<String,​String> split​(String pattern,
                                                                     int bufferSize)
        Splits the input sequence of strings based on a pattern even across subsequent elements if needed.
        Parameters:
        pattern - the Rexexp pattern to split along
        bufferSize - the number of items to prefetch from the upstream
        Returns:
        the new FlowableTransformer instance
        Since:
        0.13.0