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/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, ∼6862🔥, 0💬
Popular Posts:
How to display XML element type information with the jaxp\TypeInfoWriter.java provided in the Apache...
JDK 17 jdk.jdi.jmod is the JMOD file for JDK 17 JDI (Java Debug Interface) tool. JDK 17 JDI tool com...
XOM™ is a new XML object model. It is an open source (LGPL), tree-based API for processing XML with ...
JDK 8 jconsole.jar is the JAR file for JDK 8 JConsole, which is a graphical monitoring tool to monit...
xml-commons External Source Code Files are provided in the source package file, xml-commons-external...