Categories:
Audio (13)
Biotech (29)
Bytecode (35)
Database (77)
Framework (7)
Game (7)
General (512)
Graphics (53)
I/O (32)
IDE (2)
JAR Tools (86)
JavaBeans (16)
JDBC (89)
JDK (337)
JSP (20)
Logging (103)
Mail (54)
Messaging (8)
Network (71)
PDF (94)
Report (7)
Scripting (83)
Security (32)
Server (119)
Servlet (17)
SOAP (24)
Testing (50)
Web (19)
XML (301)
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
Â
Â
⇒ jarscan - JAR File Scanner
⇠Download JarAnalyzer Source Package
⇑ JarAnalyzer by Kirk Knoernschild
⇑⇑ Java/JAR Tools
2021-07-01, 2502👍, 0💬
Popular Posts:
The JGoodies Forms framework helps you lay out and implement elegant Swing panels consistently and q...
commons-net-1.4.1.jar is the JAR file for Apache Commons Net 1.4.1, which implements the client side...
Jakarta Regexp is a 100% Pure Java Regular Expression package that was graciously donated to the Apa...
commons-net.jar is the bytecode of Apache Commons Net library, which implements the client side of m...
pache Derby is an open source relational database implemented entirely in Java and available under t...