Class TarExtractor

java.lang.Object
com.google.cloud.tools.jib.tar.TarExtractor

public class TarExtractor extends Object
Extracts a tarball.
  • Constructor Details

    • TarExtractor

      public TarExtractor()
  • Method Details

    • extract

      public static void extract(Path source, Path destination) throws IOException
      Extracts a tarball to the specified destination.
      Parameters:
      source - the tarball to extract
      destination - the output directory
      Throws:
      IOException - if extraction fails