Class XZCompressor

java.lang.Object
org.codehaus.plexus.archiver.util.Compressor
org.codehaus.plexus.archiver.xz.XZCompressor

public class XZCompressor extends Compressor
Since:
3.3
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private org.apache.commons.compress.compressors.xz.XZCompressorOutputStream
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    subclasses must implement this method to cleanup after compression this is public so the process of compression and closing can be dealt with separately.
    void
    subclasses must implement this method to do their compression this is public so the process of compression and closing can be dealt with separately.

    Methods inherited from class org.codehaus.plexus.archiver.util.Compressor

    compress, getDestFile, getLogger, getSource, setDestFile, setSource

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • xzOut

      private org.apache.commons.compress.compressors.xz.XZCompressorOutputStream xzOut
  • Constructor Details

    • XZCompressor

      public XZCompressor()
  • Method Details

    • compress

      public void compress() throws ArchiverException
      Description copied from class: Compressor
      subclasses must implement this method to do their compression this is public so the process of compression and closing can be dealt with separately.
      Specified by:
      compress in class Compressor
      Throws:
      ArchiverException
    • close

      public void close()
      Description copied from class: Compressor
      subclasses must implement this method to cleanup after compression this is public so the process of compression and closing can be dealt with separately.
      Specified by:
      close in class Compressor