rj.tools.skimdeep
Class SkimDeep

java.lang.Object
  extended by rj.tools.skimdeep.SkimDeep

public class SkimDeep
extends java.lang.Object

The SkimDeep class

Version:
$Revision: 1.3 $
Author:
jochamrm

Constructor Summary
SkimDeep(java.lang.String rootPath)
          Creates a new instance
 
Method Summary
 ParsedJarFile[] findDependencyJarFiles(ParsedJarFile jarFile)
          Find all jar files which depend on this one
 ParsedJarFile findOwningJarFile(java.lang.String clazz)
          Find jar file containing the full qualified class
 ParsedJarFile[] findOwningJarFileRegexp(java.lang.String classRegExp)
          Find the jar files containt the regexp describing a class
 ParsedJarFile[] getParsedJarFiles()
          Get all parsed jar files
 void parse()
          Do the parsing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SkimDeep

public SkimDeep(java.lang.String rootPath)
Creates a new instance

Parameters:
rootPath - whose directory tree is parsed
Method Detail

getParsedJarFiles

public ParsedJarFile[] getParsedJarFiles()
Get all parsed jar files

Returns:
parsed jar files

parse

public void parse()
           throws java.io.IOException
Do the parsing

Throws:
java.io.IOException

findDependencyJarFiles

public ParsedJarFile[] findDependencyJarFiles(ParsedJarFile jarFile)
Find all jar files which depend on this one

Parameters:
jarFile -
Returns:
dependend jar files

findOwningJarFile

public ParsedJarFile findOwningJarFile(java.lang.String clazz)
Find jar file containing the full qualified class

Parameters:
clazz -
Returns:
parsed jar file containing the class or null if not found

findOwningJarFileRegexp

public ParsedJarFile[] findOwningJarFileRegexp(java.lang.String classRegExp)
Find the jar files containt the regexp describing a class

Parameters:
classRegExp -
Returns:
array of jar files containing the class regexp or an empty array if not found


(c) 1999-2005 by Ralph Jocham (rjocham72@netscape.net)
JCSC is released under the terms of the GNU General Public License