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/textui/JarAnalyzerTask.java
package com.kirkk.analyzer.textui; import java.io.File; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Task; /* * Very simple ant task for the JarAnalyzer * http://www.kirkk.com/wiki/wiki.php/Main/JarAnalyzer */ public class JarAnalyzerTask extends Task { private File srcdir; private File destfile; private String packageFilter; private String jarFilter; private String summaryclass; public void setJarFilter(String jarFilter) { this.jarFilter = jarFilter; } public void setPackageFilter(String packageFilter) { this.packageFilter = packageFilter; } public void setSrcdir(File srcdir) { this.srcdir = srcdir; } public void setDestfile(File destfile) { this.destfile = destfile; } public void setSummaryclass(String summaryclass) { this.summaryclass = summaryclass; } public void execute() throws BuildException { validateAttributes(); try { Class clazz = Class.forName(summaryclass); Summary summary = (Summary)clazz.newInstance(); summary.createSummary(srcdir, destfile, packageFilter, jarFilter); log(destfile + " successfully created"); } catch(Exception exc) { throw new BuildException(exc); } } private void validateAttributes() { if(null == srcdir) { throw new BuildException("Missing srcdir"); } if(null == destfile) { throw new BuildException("Missing destfile"); } if(!(srcdir.exists() && srcdir.isDirectory())) { throw new BuildException("srcdir must be a valid directory"); } if(destfile.isDirectory()) { throw new BuildException("srcdir must be a file"); } if(null == summaryclass) { throw new BuildException("Missing summaryclass"); } } }
⏎ com/kirkk/analyzer/textui/JarAnalyzerTask.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, 5575👍, 0💬
Popular Posts:
How to run "javac" command from JDK tools.jar file? "javac" is the Java compiler command that allows...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
Java Cryptography Extension 1.6 JAR File Size and Download Location: File name: jce.jar, jce-1.6.jar...
How to download and install JDK (Java Development Kit) 6? If you want to write Java applications, yo...
JDK 11 jrt-fs.jar is the JAR file for JDK 11 JRT-FS (Java RunTime - File System) defined in the "jdk...