Interface PathCoder
- All Known Implementing Classes:
PathCoderGzip,PathCoderLbZip,PathCoderNativBzip,PathCoderSysBase
public interface PathCoder
Interface for converting source files to target files.
The result type of Single should wrap the exit code of the operation.
Note, that
CompletableFuture was not used because the standard implementation
does not support upstream cancellation - e.g. killing an underlying system process.
Also, exceptions are wrapped in the single which means that the methods do not need to declare them
which makes for a nicer interplay with lambdas.- Author:
- raven
-
Method Summary
-
Method Details
-
encode
-
decode
-
cmdExists
boolean cmdExists()
-