Class BZip2Compressor

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

public class BZip2Compressor 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 BZip2 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

    • BZip2Compressor

      public BZip2Compressor()
  • Method Details

    • compress

      public void compress() throws ArchiverException
      perform the BZip2 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