File_Archive
[ class tree: File_Archive ] [ index: File_Archive ] [ all elements ]

File: UniqueAppender.php

Source Location: /File_Archive-1.5.5/File/Archive/Writer/UniqueAppender.php

Classes:

File_Archive_Writer_UniqueAppender
A writer wrapper that will remove the files the eventual duplicate

Page Details:

A writer wrapper that will remove the files the eventual duplicate

files from the reader to keep only the new ones When calling newFile, the file with the highest index in the reader and the same filename will be removed Note that it ensure that the archive won't have duplicates only if it didn't have duplicates before, and if no two calls to newFile with the same filename is done

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,Boston,MA 02111-1307 USA

Includes:

require_once("File/Archive/Writer.php") [line 36]
require_once("File/Archive/Reader.php") [line 37]
require_once("File/Archive/Predicate/Index.php") [line 38]

Documentation generated on Mon, 11 Mar 2019 15:48:27 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.