1 package jp.sourceforge.stigmata.digger;
7 import java.io.IOException;
8 import java.io.InputStream;
10 import java.util.Iterator;
13 * abstract presentation of class file archive's location.
15 * @author Haruaki TAMADA
18 public interface ClassFileArchive extends Iterable<ClassFileEntry>{
19 public URL getLocation();
21 public InputStream getInputStream(ClassFileEntry entry) throws IOException;
23 public Iterator<ClassFileEntry> iterator();
25 public boolean hasEntry(String className);
27 public ClassFileEntry getEntry(String className) throws ClassNotFoundException;
29 public String getName();