forked from ReactiveX/RxJava
-
Notifications
You must be signed in to change notification settings - Fork 0
String Observables
David Gross edited this page Jan 12, 2015
·
7 revisions
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-endings -
decode( )
— convert a stream of multibyte characters into an Observable that emits byte arrays that respect character boundaries -
encode( )
— transform an Observable that emits strings into an Observable that emits byte arrays that respect character boundaries of multibyte characters in the original strings -
from( )
— convert a stream of characters or a Reader into an Observable that emits byte arrays or Strings -
join( )
— 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 string -
split( )
— 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 boundary -
stringConcat( )
— converts an Observable that emits a sequence of strings into an Observable that emits a single string that concatenates them all
A Netflix Original Production
Tech Blog | Twitter @NetflixOSS | Twitter @RxJava | Jobs
- Introduction
- Getting Started
- JavaDoc
- How to Use RxJava
- Additional Reading
- The Observable
- Operators (Alphabetical List)
- Async
- Blocking Observable
- Combining
- Conditional & Boolean
- Connectable Observable
- Error Handling
- Filtering
- Mathematical and Aggregate
- Observable Creation
- String
- Transformational
- Utility Operators
- Implementing Custom Operators, previous
- Backpressure
- Error Handling
- Plugins
- Schedulers
- Subjects
- The RxJava Android Module
- RxJava 2.0
- How to Contribute