|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectremoteTester.runner.BytableHelper
convert a Class to its byte[] equivalent
Method Summary | |
static byte[] |
byteIt(java.lang.Class aClass)
convert a Class accessible in the classpath in a byte array |
static byte[] |
byteIt(java.lang.Class aClass,
java.lang.String path)
Deprecated. use the byteIt(Class aClass) method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static byte[] byteIt(java.lang.Class aClass) throws java.io.IOException
aClass
- class to convert as a byte array
java.io.IOException
- if the inputStream cannot be readpublic static byte[] byteIt(java.lang.Class aClass, java.lang.String path) throws java.io.IOException
aClass
- the class to convert to byte[]path
- root path to find classes files
java.io.IOException
- if the inputStream cannot be read
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |