|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectclassUtils.putils.ClassPathBean
public class ClassPathBean
Copyright DocJava, inc. User: lyon Date: Sep 6, 2004 Time: 10:25:51 AM
Constructor Summary | |
---|---|
ClassPathBean()
|
Method Summary | |
---|---|
void |
addClassPath(java.lang.String path)
append a path (with no delimeters) to the internall held vector. |
void |
addDirectoryToPath()
|
java.io.File |
findClass(java.lang.String className)
|
java.io.File[] |
getAllClassFilesInDirs()
|
java.lang.String |
getClassPath()
|
java.lang.String[] |
getClassPaths()
|
java.net.URL[] |
getClassPathUrls()
|
java.io.File[] |
getDirs()
Get all the dirs |
java.io.File[] |
getJars()
Get all the readable files with a .jar suffix |
java.io.File[] |
getJarsAndZips()
Get all the readable files with a .zip suffix |
java.util.Enumeration |
getPathEnumeration()
|
java.io.File[] |
getZips()
Get all the readable files with a .zip suffix |
static void |
main(java.lang.String[] args)
|
static void |
print(java.lang.Object[] o)
|
void |
printJars()
|
static ClassPathBean |
restore()
restores the properties from the preference in the user root. |
void |
save()
saves the properties to the Preferences of the userRoot |
void |
setClassPath(java.lang.String classPath)
Erase internally held class path and erase it with the long path delimited string. |
void |
setClassPaths(java.lang.String[] classPaths)
Overwrite the internally held vector. |
static void |
testClassNameToPath()
|
java.lang.String |
toString()
|
static void |
updatePreferencesWithCurrentPath()
This will wipe out the old paths stored in preferences, in favor of the new path. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClassPathBean()
Method Detail |
---|
public static void testClassNameToPath()
public static void main(java.lang.String[] args)
public java.io.File findClass(java.lang.String className)
public void addDirectoryToPath()
public static void print(java.lang.Object[] o)
public static void updatePreferencesWithCurrentPath()
public java.lang.String getClassPath()
public java.util.Enumeration getPathEnumeration()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String[] getClassPaths()
public void addClassPath(java.lang.String path)
public void setClassPaths(java.lang.String[] classPaths)
public void save()
public static ClassPathBean restore()
public java.io.File[] getJars()
public java.io.File[] getAllClassFilesInDirs()
public java.io.File[] getDirs()
public java.io.File[] getJarsAndZips()
public java.io.File[] getZips()
public void setClassPath(java.lang.String classPath)
public java.net.URL[] getClassPathUrls()
public void printJars()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |