joeq.Main
Class ClasspathWalker

java.lang.Object
  extended by joeq.Main.ClasspathWalker

public class ClasspathWalker
extends Object

author: V.Benjamin Livshits $Id: ClasspathWalker.java 2326 2005-10-08 19:51:20Z joewhaley $


Constructor Summary
ClasspathWalker()
           
 
Method Summary
static void addClassDir(String dir, boolean recurse)
           
static void addJarDir(String dir)
           
static void addToClassPath(String fileName)
          Add paths contained in file fileName.
static String canonicalizeClassName(String s)
           
static jq_Type load(String classname)
           
static jq_Type[] loadPackage(String packagename)
           
static jq_Type[] loadPackages(String packagename)
           
static jq_Type[] loadPackages(String packagename, boolean recursive)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClasspathWalker

public ClasspathWalker()
Method Detail

main

public static void main(String[] args)
                 throws FileNotFoundException
Throws:
FileNotFoundException

canonicalizeClassName

public static String canonicalizeClassName(String s)

load

public static jq_Type load(String classname)

loadPackage

public static jq_Type[] loadPackage(String packagename)

loadPackages

public static jq_Type[] loadPackages(String packagename)

loadPackages

public static jq_Type[] loadPackages(String packagename,
                                     boolean recursive)

addToClassPath

public static void addToClassPath(String fileName)
Add paths contained in file fileName.

Parameters:
fileName - -- name of the file with class paths

addJarDir

public static void addJarDir(String dir)

addClassDir

public static void addClassDir(String dir,
                               boolean recurse)


Copyright © 2001-2008 John Whaley. All Rights Reserved.