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, 5072👍, 0💬
Popular Posts:
commons-collections4-4.4 -sources.jaris the source JAR file for Apache Commons Collections 4.2, whic...
What Is poi-contrib-3.5.jar? poi-contrib-3.5.jar is one of the JAR files for Apache POI 3.5, which p...
JDK 11 jdk.jlink.jmod is the JMOD file for JDK 11 JLink tool, which can be invoked by the "jlink" co...
How to read XML document with XML Schema validation from socket connections with the socket\DelayedI...
Jettison is a collection of Java APIs (like STaX and DOM) which read and write JSON. This allows nea...