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/Configuration.java

package com.kirkk.analyzer;

import java.util.*;

public class Configuration {

	public static List ignorePackages;
	public static List ignoreJars;

	static {
		ResourceBundle filters = ResourceBundle.getBundle("com.kirkk.analyzer.framework.Filter");

		String packageFilters = filters.getString("filter.packages");
		ignorePackages = new ArrayList();
		StringTokenizer packageTokenizer = new StringTokenizer(packageFilters, ";");
		while (packageTokenizer.hasMoreTokens()) {
			String token = packageTokenizer.nextToken();
			//System.out.println(token.substring(0, token.length() - 1));
			ignorePackages.add(token.substring(0, token.length() - 1));
		}

		String jarFilters = filters.getString("filter.jars");
		ignoreJars = new ArrayList();
		StringTokenizer jarTokenizer = new StringTokenizer(jarFilters, ";");
		while (jarTokenizer.hasMoreTokens()) {
			String token = jarTokenizer.nextToken();
			ignoreJars.add(token.substring(0, token.length()));
		}
	}

	public static void initialize(String packageFilter, String jarFilter) {
		if (packageFilter != null) {
			ignorePackages = new ArrayList();
			StringTokenizer packageTokenizer = new StringTokenizer(packageFilter, ";");
			while (packageTokenizer.hasMoreTokens()) {
				String token = packageTokenizer.nextToken();
				//System.out.println(token.substring(0, token.length() - 1));
				ignorePackages.add(token.substring(0, token.length() - 1));
			}
		}

		if (jarFilter != null) {
			ignoreJars = new ArrayList();
			StringTokenizer jarTokenizer = new StringTokenizer(jarFilter, ";");
			while (jarTokenizer.hasMoreTokens()) {
				String token = jarTokenizer.nextToken();
				ignoreJars.add(token.substring(0, token.length()));
			}
		}
	}

}

com/kirkk/analyzer/Configuration.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 

 

jarscan - JAR File Scanner

Download JarAnalyzer Source Package

JarAnalyzer by Kirk Knoernschild

⇑⇑ Java/JAR Tools

2021-07-01, 5586👍, 0💬