| PEAR Announce 2005-06-06, 3:57 pm |
| The new PEAR package File_Archive-1.4.0 (stable) has been released at http://pear.php.net/.
Release notes
-------------
+ Add the possibility to use Cache_Lite to cache intermediary output of Zip compression
+ Add get and setOption method to change the default behavior of readers and writers
Available options are
- zipCompressionLevel: default compression level of zip archives (default is 9)
- gzCompressionLevel: default compression level of gz archives (default is 9)
- tmpDirectory: directory where temporary files will be stored (default is '.')
- cache: instance of Cache_Lite that may be used by any writer to cache data
for future use. Currently used by Zip writer (default is null: no cache)
- appendRemoveDuplicates: specify if the appenders should remove the old files
from an archive to avoid creating duplicates (default is false, which is faster)
+ Add the possibility to use wildcards in read function
File_Archive::read('dir/*.txt') will read all txt files from directory dir
File_Archive::read('archive.zip/*.txt') will read all txt files from the zip archive
Note: The wildcards can only be used after the last '/'
+ All the File_Archive functions that take a reader or a writer as an argument can now take
a string or an array. For readers, strings are interpreted using File_Archive::read function
and array using File_Archive::readMulti. For writers, strings are interpreted using File_Archive::appender
function and array by creating a multi writer.
Package Info
-------------
This library is strongly object oriented. It makes it very easy to use, writing simple code, yet the library is very powerfull.
It lets you easily read or generate tar, gz, tgz, bz2, tbz, zip, ar (or deb) archives to files, memory, mail or standard output.
See http://poocl.la-grotte.org for a tutorial
Related Links
-------------
Package home: http://pear.php.net/package/File_Archive
Changelog: http://pear.php.net/package/File_Archive/download/1.4.0
Download: http://pear.php.net/get/File_Archive-1.4.0.tgz
Authors
-------------
Vincent Lascaux (lead)
Pablo Fischer (developer)
|