Class GZipCompressor

  • All Implemented Interfaces:
    org.codehaus.plexus.logging.LogEnabled

    public class GZipCompressor
    extends Compressor
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.io.OutputStream zOut  
    • Constructor Summary

      Constructors 
      Constructor Description
      GZipCompressor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      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 compress()
      perform the GZip compression operation.
      • 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
    • Field Detail

      • zOut

        private java.io.OutputStream zOut
    • Constructor Detail

      • GZipCompressor

        public GZipCompressor()
    • Method Detail

      • 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