Class Gzip

java.lang.Object
com.artipie.rpm.files.Gzip

public final class Gzip extends Object
Gzip.
Since:
0.8
  • Constructor Details

    • Gzip

      public Gzip(Path file)
      Ctor.
      Parameters:
      file - Path
  • Method Details

    • unpackTar

      public void unpackTar(Path dest) throws IOException
      Unpacks tar gzip to the temp dir.
      Parameters:
      dest - Destination directory
      Throws:
      IOException - If fails
    • unpack

      public void unpack(Path dest) throws IOException
      Unpacks gzip to the temp dir.
      Parameters:
      dest - Destination directory
      Throws:
      IOException - If fails