Class GZipCompressor

java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.plexus.archiver.util.Compressor
org.codehaus.plexus.archiver.gzip.GZipCompressor
All Implemented Interfaces:
org.codehaus.plexus.logging.LogEnabled

public class GZipCompressor extends Compressor
  • 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
    perform the GZip compression operation.

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

    compress, getDestFile, getSource, setDestFile, setSource

    Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled

    enableLogging, getLogger, setupLogger, setupLogger, setupLogger

    Methods inherited from class java.lang.Object

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

    • GZipCompressor

      public GZipCompressor()
  • Method Details

    • compress

      public void compress() throws ArchiverException
      perform the GZip compression operation.
      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