1 /*2 * EJTools, the Enterprise Java Tools3 *4 * Distributable under LGPL license.5 * See terms of license at www.gnu.org.6 */7 package org.ejtools.archive.io;8 9 import org.ejtools.archive.Archive;10 import org.ejtools.archive.Entry;11 12 13 /**14 * Interface that describe a Reader used to build Archive and Entry. Use the Visitor Pattern.15 *16 * @author Laurent Etiemble17 * @version $Revision: 1.2 $18 */19 public interface Reader20 {21 /**22 * Visit an archive.23 *24 * @param archive The archive to visit25 */26 public void visit(Archive archive);27 28 29 /**30 * Visit an entry.31 *32 * @param entry The entry to visit33 */34 public void visit(Entry entry);35 }36