Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
JarAnalyzer Source Code Files
Apache Ant Source Code Files are inside the JarAnalyzer source package
like JarAnalyzer-src-1.2.zip.
Unzip the source package and go to the "src" sub-directory,
you will see source code files.
Here is the list of Java source code files of the JarAnalyzer 1.2 in \Users\fyicenter\JarAnalyzer\src:
✍: FYIcenter.com
⏎ com/kirkk/analyzer/framework/bcelbundle/JarPackageImpl.java
package com.kirkk.analyzer.framework.bcelbundle;
import com.kirkk.analyzer.framework.JarPackage;
import com.kirkk.analyzer.framework.JarClass;
import java.util.*;
public class JarPackageImpl implements JarPackage {
private String packageName;
private List classes;
public JarPackageImpl(String packageName) {
if(packageName== null) {
throw new NullPointerException("Package name cannot be null");
} else {
this.packageName = packageName;
}
}
public void addClass(JarClass jarClass) {
if(classes == null) {
classes = new ArrayList();
}
classes.add(jarClass);
}
public List getClasses() {
return this.classes;
/*Iterator classIterator = this.publicClasses.iterator();
List publicList = new ArrayList();
while (classIterator.hasNext()) {
PublicClass cls = (PublicClass) classIterator.next();
if (cls.isPublic()) {
publicList.add(cls);
}
}
return publicList;*/
}
public int getClassCount() {
return this.classes.size();
}
public String getLongName() {
return this.packageName;
}
public boolean equals(Object obj) {
if(obj instanceof JarPackage) {
JarPackage javapackage = (JarPackage)obj;
if(getLongName().equals(javapackage.getLongName())) {
return true;
}
}
return false;
}
public int hashCode() {
return packageName.hashCode();
}
public List getImportedPackageNames() {
List importedPackages = new ArrayList();
Iterator classes = this.classes.iterator();
while (classes.hasNext()) {
JarClass cls = (JarClass) classes.next();
Iterator packages = cls.getImportedPackageNames().iterator();
while (packages.hasNext()) {
String packageName = (String) packages.next();
if (!importedPackages.contains(packageName)) {
importedPackages.add(packageName);
}
}
}
return importedPackages;
}
}
⏎ com/kirkk/analyzer/framework/bcelbundle/JarPackageImpl.java
Or download all of them as a single archive file:
File name: JarAnalyzer-1.20-fyi.zip File size: 19949 bytes Release date: 2007-08-03 Download
⇐ Download JarAnalyzer Source Package
2021-07-01, ≈11🔥, 0💬
Popular Posts:
Guava is a suite of core and expanded libraries that include utility classes, google's collections, ...
What Is HttpComponents httpclient-4.2.2.jar? HttpComponents httpclient-4.2.2.jar is the JAR file for...
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...
maven-core-3.5.4.jar is the JAR file for Apache Maven 3.5.4 Core module. Apache Maven is a software ...
JDK 17 java.xml.crypto.jmod is the JMOD file for JDK 17 XML (eXtensible Markup Language) Crypto modu...