com.svincent.tools
Class ClassWhich
java.lang.Object
|
+--com.svincent.tools.ClassWhich
- public class ClassWhich
- extends java.lang.Object
WHICH for Java classes. Command line interface available.
|
Method Summary |
static java.lang.String |
findClass(java.lang.String className)
Returns a pathname to where in the classpath the given class is. |
static java.io.File[] |
getClasspath()
Gets a list of File objs corresponding to the classpath on this machine. |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ClassWhich
public ClassWhich()
findClass
public static java.lang.String findClass(java.lang.String className)
- Returns a pathname to where in the classpath the given class is.
Returns null if it can't find anything.
main
public static void main(java.lang.String[] args)
getClasspath
public static java.io.File[] getClasspath()
throws java.lang.SecurityException
- Gets a list of File objs corresponding to the classpath on this machine.
This is documentation for Moksa Prolog, which can be found at http://www.svincent.com/moksa/
Copyright © 1999 Shawn P. Vincent.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.