java.lang.Object
All Implemented Interfaces:
java.lang.Cloneable

public class Xz
extends Pack
Compresses a file with the XZ algorithm. Normally used to compress non-compressed archives such as TAR files.
Since:
Ant 1.10.1
  • Constructor Details

    • Xz

      public Xz()
  • Method Details

    • pack

      protected void pack()
      Compress the zipFile.
      Specified by:
      pack in class Pack
    • supportsNonFileResources

      protected boolean supportsNonFileResources()
      Whether this task can deal with non-file resources.

      This implementation always returns true only.

      Overrides:
      supportsNonFileResources in class Pack
      Returns:
      true