KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejtools > archive > io > Reader


1 /*
2  * EJTools, the Enterprise Java Tools
3  *
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 Etiemble
17  * @version $Revision: 1.2 $
18  */

19 public interface Reader
20 {
21    /**
22     * Visit an archive.
23     *
24     * @param archive The archive to visit
25     */

26    public void visit(Archive archive);
27
28
29    /**
30     * Visit an entry.
31     *
32     * @param entry The entry to visit
33     */

34    public void visit(Entry entry);
35 }
36
Popular Tags