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 aFlowable
ofCharBuffer
into a Flowable ofString
, by splitting on EOL chars ('\r' and '\n').- See Also:
This transformer copies its behaviour.
-
-
Constructor Summary
Constructors Constructor Description CharBufferToLineFlowableTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull org.reactivestreams.Publisher<String>
apply(@NonNull io.reactivex.rxjava3.core.Flowable<CharBuffer> upstream)
-
-
-
Method Detail
-
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>
-
-