|
Return to www.inductionframework.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.acciente.commons.loader.JavaCompiledClassDefLoader
public class JavaCompiledClassDefLoader
A class definition loader that loads compiled Java class files.
| Constructor Summary | |
|---|---|
JavaCompiledClassDefLoader()
|
|
JavaCompiledClassDefLoader(java.io.File oCompiledDirectory)
|
|
| Method Summary | |
|---|---|
ClassDef |
getClassDef(java.lang.String sClassName)
Load the byte code and other information about the specified class |
java.io.File |
getCompiledDirectory()
Returns the compiled directory from which this classloader loads java compiled files |
java.lang.String |
getPackageNamePrefix()
Returns the package name prefix set by a call to setPackageNamePrefix() or a null string if no package name prefix was ever set. |
void |
setCompiledDirectory(java.io.File sCompiledDirectory)
Sets the directory from which this classloader will attempt to java compiled files |
void |
setPackageNamePrefix(java.lang.String sPackageNamePrefix)
A package name prefix that represents the prefix that should be removed from the class name passed to loadClass() before attempting to convert the class's package name to a sub-directory off the specified compiled directory. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaCompiledClassDefLoader()
public JavaCompiledClassDefLoader(java.io.File oCompiledDirectory)
| Method Detail |
|---|
public ClassDef getClassDef(java.lang.String sClassName)
throws java.lang.ClassNotFoundException
ClassDefLoader
getClassDef in interface ClassDefLoadersClassName - the name of the class for which a definition is requested
java.lang.ClassNotFoundException - if this loader was able to locate the class definition was
unable to sucessfully load itpublic java.io.File getCompiledDirectory()
public void setCompiledDirectory(java.io.File sCompiledDirectory)
sCompiledDirectory - a File object representing a directory pathpublic java.lang.String getPackageNamePrefix()
public void setPackageNamePrefix(java.lang.String sPackageNamePrefix)
sPackageNamePrefix - null or a package name without a terminating period (e.g: foo.bar and NOT foo.bar.)
|
Return to www.inductionframework.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||