public class PipeTransformRx extends Object
| Modifier and Type | Field and Description |
|---|---|
protected PipeTransform |
pipeTransform |
| Constructor and Description |
|---|
PipeTransformRx(PipeTransform pipeTransform) |
| Modifier and Type | Method and Description |
|---|---|
static PipeTransformRx |
fromSysCallStreamToStream(String... args) |
io.reactivex.rxjava3.core.SingleTransformer<Path,InputStream> |
mapPathToStream() |
io.reactivex.rxjava3.core.SingleTransformer<InputStream,Path> |
mapStreamToPath(Path path) |
io.reactivex.rxjava3.core.SingleTransformer<InputStream,InputStream> |
mapStreamToStream() |
static <T,V> io.reactivex.rxjava3.core.Single<V> |
singleFromCompletableFuture(Supplier<T> objSupplier,
Function<? super T,? extends CompletableFuture<V>> getFuture,
ThrowingConsumer<? super T> cancelAction) |
static io.reactivex.rxjava3.core.Single<Path> |
singleFromFileCreation(Supplier<FileCreation> fileCreationSupplier)
If the file creation completed successfully, further subscriptions to the single
should return the cached path to the file instead of starting the creation again
|
protected PipeTransform pipeTransform
public PipeTransformRx(PipeTransform pipeTransform)
public io.reactivex.rxjava3.core.SingleTransformer<InputStream,InputStream> mapStreamToStream()
public io.reactivex.rxjava3.core.SingleTransformer<InputStream,Path> mapStreamToPath(Path path)
public io.reactivex.rxjava3.core.SingleTransformer<Path,InputStream> mapPathToStream()
public static io.reactivex.rxjava3.core.Single<Path> singleFromFileCreation(Supplier<FileCreation> fileCreationSupplier)
fc - public static <T,V> io.reactivex.rxjava3.core.Single<V> singleFromCompletableFuture(Supplier<T> objSupplier, Function<? super T,? extends CompletableFuture<V>> getFuture, ThrowingConsumer<? super T> cancelAction)
public static PipeTransformRx fromSysCallStreamToStream(String... args)
Copyright © 2020. All rights reserved.