KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > kirkk > analyzer > framework > Jar


1 package com.kirkk.analyzer.framework;
2
3 import java.util.List JavaDoc;
4
5 public interface Jar
6 {
7
8     public abstract List JavaDoc getAllContainedPackages();
9     public abstract List JavaDoc getAllExternallyReferencedPackages();
10
11     public abstract int getPackageCount();
12     public abstract int getAbstractClassCount();
13     public abstract int getClassCount();
14     public abstract String JavaDoc getJarFileName();
15     public abstract void addPackage(JarPackage jarPackage);
16
17     public abstract JarPackage getPackage(String JavaDoc packageName);
18
19     public abstract boolean containsPackage(String JavaDoc packageName);
20     public abstract List JavaDoc getOutgoingDependencies();
21     public abstract List JavaDoc getIncomingDependencies();
22     public abstract List JavaDoc getAllUnidentifiableExternallyReferencedPackages();
23
24     public boolean hasCycles();
25     public List JavaDoc getCyclicJars();
26
27     public void addOutgoingDependency(Jar jar);
28     public void addIncomingDependency(Jar jar);
29     public void addCyclicJar(Jar jar);
30     public JarMetrics calculateMetrics();
31 }
32
Popular Tags