Table of Contents

Class: protocompress interface/compress.py

treatfiles subclass that will compress its files.

Set the ".program" attribute to the program to be used for the compression. If it is set to None (the default), then KCD files will be "compress"ed, and all other files "gzip"ped. See makeExt()

still needs beforeloop() and beforefile() methods in a subclass.

Base Classes   
treatfiles
Methods   
makeExt
treatfile
  makeExt 
makeExt ( self,  ext )

Set the compression program to add extension ext.

  treatfile 
treatfile ( self,  filename )

Compress file

Exceptions   
IOError("Compression of %s exited with status %d" %( filename, status ) )

Table of Contents

This document was automatically generated on Fri Jul 3 09:28:36 2009 by HappyDoc version WORKING