Package eu.bandm.tools.util
Class ConfigurableClassLoader.ClassDirectory
java.lang.Object
eu.bandm.tools.util.ConfigurableClassLoader.ClassSource
eu.bandm.tools.util.ConfigurableClassLoader.ClassDirectory
- Enclosing class:
 - ConfigurableClassLoader
 
Directory in the file system from which a class can be loaded.
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionClassDirectory(File root) Only constructor, sets the file system point from which this class loader will resolve class names. - 
Method Summary
Modifier and TypeMethodDescriptionprotected InputStreamReturn an input stream which contains all data of the class with the given name.protected StringtoPhysicalName(String name) Convert a class name to the file name valid relative to this class loader.toString()Return the string representation of the start file of this classloader.Methods inherited from class eu.bandm.tools.util.ConfigurableClassLoader.ClassSource
findClass, getClassData 
- 
Field Details
- 
root
The file system point starting from which this class loader will resolve class names. 
 - 
 - 
Constructor Details
- 
ClassDirectory
Only constructor, sets the file system point from which this class loader will resolve class names. 
 - 
 - 
Method Details
- 
openClass
Return an input stream which contains all data of the class with the given name.- Specified by:
 openClassin classConfigurableClassLoader.ClassSource- Parameters:
 name- the binary class name to be loaded by this class loader- Throws:
 IOException- if no file corresponding to the class name can be found.
 - 
toString
Return the string representation of the start file of this classloader. - 
toPhysicalName
Convert a class name to the file name valid relative to this class loader. 
 -