Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
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 (309)
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/jar/JarFile.java
package com.kirkk.analyzer.framework.jar; import java.io.*; import java.util.zip.*; import java.util.*; public class JarFile { private HashMap jarContents; private Enumeration jarEntries; private ZipFile zipFile; private String nextClass; private File file; public JarFile(File file) throws ZipException, IOException { this.file = file; this.zipFile = new ZipFile(file); this.jarEntries = zipFile.entries(); } public boolean hasMoreClasses() { boolean classFileFound = false; ZipEntry nextEntry = null; while (jarEntries.hasMoreElements() && (classFileFound == false) ) { nextEntry = (ZipEntry) jarEntries.nextElement(); if ( (nextEntry.getName().endsWith(".class")) ) { classFileFound = true; } } if (classFileFound) { this.nextClass = nextEntry.getName(); return true; } else { this.nextClass = null; return false; } } public String nextClass() { return this.nextClass; } public String getFileName() { return this.file.getAbsolutePath(); } public String getShortFileName() { return this.file.getName(); } public void close() { if(null != zipFile) { try { zipFile.close(); } catch (IOException exc) { exc.printStackTrace(); } } } }
⏎ com/kirkk/analyzer/framework/jar/JarFile.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, 5585👍, 0💬
Popular Posts:
JDK 11 jdk.jdi.jmod is the JMOD file for JDK 11 JDI (Java Debug Interface) tool. JDK 11 JDI tool com...
JDK 11 java.management.jmod is the JMOD file for JDK 11 Management module. JDK 11 Management module ...
What Is ojdbc5.jar for Oracle 11g R1? ojdbc5.jar for Oracle 11g R1 is the JAR files of ojdbc.jar, JD...
pache Derby is an open source relational database implemented entirely in Java and available under t...
Joda-Time provides a quality replacement for the Java date and time classes. The design allows for m...