Class Unxz

  • All Implemented Interfaces:
    java.lang.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 Detail

      • Unxz

        public Unxz()
    • Method Detail

      • getDefaultExtension

        protected java.lang.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