Package org.forgerock.openig.reactive
Class CharBufferToLineFlowableTransformer
java.lang.Object
org.forgerock.openig.reactive.CharBufferToLineFlowableTransformer
- All Implemented Interfaces:
io.reactivex.rxjava3.core.FlowableTransformer<CharBuffer,
String>
public class CharBufferToLineFlowableTransformer
extends Object
implements io.reactivex.rxjava3.core.FlowableTransformer<CharBuffer,String>
Transforms a
Flowable
of CharBuffer
into a Flowable of String
, by splitting on EOL chars
('\r' and '\n').- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull org.reactivestreams.Publisher<String>
apply
(@NonNull io.reactivex.rxjava3.core.Flowable<CharBuffer> upstream)
-
Constructor Details
-
CharBufferToLineFlowableTransformer
public CharBufferToLineFlowableTransformer()
-
-
Method Details
-
apply
@NonNull public @NonNull org.reactivestreams.Publisher<String> apply(@NonNull @NonNull io.reactivex.rxjava3.core.Flowable<CharBuffer> upstream) - Specified by:
apply
in interfaceio.reactivex.rxjava3.core.FlowableTransformer<CharBuffer,
String>
-