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/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, ≈17🔥, 0💬
Popular Posts:
JDK 11 jdk.aot.jmod is the JMOD file for JDK 11 Ahead-of-Time (AOT) Compiler module. JDK 11 AOT Comp...
JDK 17 java.rmi.jmod is the JMOD file for JDK 17 RMI (Remote Method Invocation) module. JDK 17 RMI m...
JDK 11 jdk.localedata.jmod is the JMOD file for JDK 11 Localedata module. JDK 11 Locale Data module ...
What Is mail.jar of JavaMail 1.4.2? I got the JAR file from javamail-1.4.2.zip. mail.jar in javamail...
JAX-RPC is an API for building Web services and clients that used remote procedure calls (RPC) and X...