1 19 20 package edu.umd.cs.findbugs.classfile; 21 22 import java.io.Closeable ; 23 import java.io.FileNotFoundException ; 24 import java.io.IOException ; 25 import java.io.InputStream ; 26 import java.util.Iterator ; 27 28 34 public interface ICodeBase { 35 36 public static final int SPECIFIED = 0; 37 38 39 public static final int NESTED = 1; 40 41 42 public static final int IN_JAR_MANIFEST = 2; 43 44 45 public static final int IN_SYSTEM_CLASSPATH = 3; 46 47 52 public ICodeBaseLocator getCodeBaseLocator(); 53 54 61 public ICodeBaseEntry lookupResource(String resourceName) throws ResourceNotFoundException; 62 63 68 public void setApplicationCodeBase(boolean isAppCodeBase); 69 70 75 public boolean isApplicationCodeBase(); 76 77 83 public void setHowDiscovered(int howDiscovered); 84 85 90 public int getHowDiscovered(); 91 92 98 public boolean containsSourceFiles() throws InterruptedException ; 99 100 106 public String getPathName(); 107 108 114 public void setLastModifiedTime(long lastModifiedTime); 115 116 126 public long getLastModifiedTime(); 127 128 131 public void close(); 132 } 133 | Popular Tags |