Class PathCoderSysBase

java.lang.Object
org.aksw.jena_sparql_api.conjure.entity.utils.PathCoderSysBase
All Implemented Interfaces:
PathCoder
Direct Known Subclasses:
PathCoderGzip, PathCoderLbZip

public abstract class PathCoderSysBase extends Object implements PathCoder
  • Constructor Details

    • PathCoderSysBase

      public PathCoderSysBase()
  • Method Details

    • buildCheckCmd

      protected abstract String[] buildCheckCmd()
    • buildDecodeCmd

      protected abstract String[] buildDecodeCmd(Path input)
    • buildEncodeCmd

      protected abstract String[] buildEncodeCmd(Path input)
    • cmdExists

      public boolean cmdExists()
      Specified by:
      cmdExists in interface PathCoder
    • decode

      public io.reactivex.rxjava3.core.Single<Integer> decode(Path input, Path output)
      Specified by:
      decode in interface PathCoder
    • encode

      public io.reactivex.rxjava3.core.Single<Integer> encode(Path input, Path output)
      Specified by:
      encode in interface PathCoder
    • run

      public io.reactivex.rxjava3.core.Single<Integer> run(Path input, Path output, Function<Path,String[]> buildCmd)