|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents objects capable of retrieving class files.
Method Summary | |
byte[] |
getClassfile(String className)
Retrieve the class file that is used to define the named class. |
long |
getClassfileHash(String className)
Return the hash of the bytes that would be returned by getClassfile() with the same arguments.
|
Method Detail |
public byte[] getClassfile(String className) throws ClassNotFoundException
className
- Class name (with slashes, not dots)
ClassNotFoundException
- if class is not foundpublic long getClassfileHash(String className) throws ClassNotFoundException
getClassfile()
with the same arguments.
The hash of a class file is defined as the last 16 bytes
of the MD5 of the class file.
className
- Class name (with slashes, not dots)
ClassNotFoundException
- if class is not found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |