All Implemented Interfaces:
Cloneable

public class Unxz extends Unpack
Expands a file that has been compressed with the XZ algorithm. Normally used to compress non-compressed archives such as TAR files.
Since:
Ant 1.10.1
  • Constructor Details

    • Unxz

      public Unxz()
  • Method Details

    • getDefaultExtension

      protected String getDefaultExtension()
      Get the default extension.
      Specified by:
      getDefaultExtension in class Unpack
      Returns:
      the value ".xz"
    • extract

      protected void extract()
      Implement the gunzipping.
      Specified by:
      extract in class Unpack
    • supportsNonFileResources

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

      This implementation returns true only.

      Overrides:
      supportsNonFileResources in class Unpack
      Returns:
      true