The StringObservable
class contains methods that represent operators particular to Observables that deal in string-based sequences and streams. These include:
byLine( )
— converts an Observable of Strings into an Observable of Lines by treating the source sequence as a stream and splitting it on line-endingsdecode( )
— convert a stream of multibyte characters into an Observable that emits byte arrays that respect character boundariesencode( )
— transform an Observable that emits strings into an Observable that emits byte arrays that respect character boundaries of multibyte characters in the original stringsfrom( )
— convert a stream of characters or a Reader into an Observable that emits byte arrays or Stringsjoin( )
— converts an Observable that emits a sequence of strings into an Observable that emits a single string that concatenates them all, separating them by a specified stringsplit( )
— converts an Observable of Strings into an Observable of Strings that treats the source sequence as a stream and splits it on a specified regex boundarystringConcat( )
— converts an Observable that emits a sequence of strings into an Observable that emits a single string that concatenates them all