org.codehaus.plexus.archiver.gzip
Class GZipCompressor

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

public class GZipCompressor
extends Compressor

Version:
$Revision: 7140 $ $Date: 2008-01-06 12:50:12 +0100 (So, 06 Jan 2008) $

Constructor Summary
GZipCompressor()
           
 
Method Summary
 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.archiver.util.Compressor
compress, compressFile, execute, getDestFile, getSource, getSourceFile, setDestFile, setSource, setSourceFile
 
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 Detail

GZipCompressor

public GZipCompressor()
Method Detail

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


Copyright © 2001-2010 Codehaus. All Rights Reserved.