|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sourceforge.jemm.weaver.io.FileLoader
public class FileLoader
Loads Class file contents using File System.
| Constructor Summary | |
|---|---|
FileLoader(java.io.File baseDirectory)
Creates a FileLoader with the given base directory. |
|
| Method Summary | |
|---|---|
byte[] |
readClass(java.lang.String className)
Finds a class in the Readers space and loads all the bytes of the file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileLoader(java.io.File baseDirectory)
baseDirectory - The base directory to load from.| Method Detail |
|---|
public byte[] readClass(java.lang.String className)
throws ClassNotFoundException,
java.io.IOException
ClassLoader
readClass in interface ClassLoaderclassName - the fully qualified file name using /'s as
separators. eg com/package/Name.class
ClassNotFoundException - If the given class can not be found.
java.io.IOException - On IO Error whilst reading class.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||