Coffeearc is a multi-format archiver created as part of a private project to easily integrate experimental command line compression tools as plugins, providing more functionality and ease of use as a full-fledged archiver tool. Experimental compression tools can often pack and unpack only individual files. However, in conjunction with Coffeearc, many more features are easily available as soon as the tool is integrated. This is done by creating a very simple XML specification.
Techniques and Features:
Main window of Coffeearc (left: file explorer, middle: file list of the archive, right: profiles and settings):
Example of an XML specification that generates GUI elements for a profile:
<gui name="Mode" type="radio">
<option label="Fast">
<replace key="%opt1" with="-f"/>
</option>
<option label="Normal" default="yes">
<replace key="%opt1" with="-n"/>
</option>
<option label="Strong">
<replace key="%opt1" with="-s"/>
</option>
</gui>
<gui name="Misc" type="check">
<option label="Debug">
<replace key="%opt2" with="-d"/>
</option>
<option label="Information" selected="yes">
<replace key="%opt2" with="-i"/>
</option>
</gui>
<gui name="Many" type="combo">
<option label="Another option 1"><replace key="%opt3" with="-a:1"/></option>
<option label="Another option 2" default="yes"><replace key="%opt3" with="-b:2"/></option>
<option label="Another option 3"><replace key="%opt3" with="-c:3"/></option>
</gui>
The XML tags define the type of GUI elements (eg checkbox or radio button). Placeholders are used to define which parameters are passed to the compression tool when an option is selected.
View of the profile GUI generated by the above XML code:
Coffeearc is an open source project and has been released under GPL license. Project page: http://sourceforge.net/projects/coffeearc/
See also: http://www.softpedia.com/get/PORTABLE-SOFTWARE/Compression-Tools/Coffeearc.shtml