public class ClassFileWriter
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
writeToFile(java.io.File file,
ClassFile classFile)
Converts ClassFile structure to a a class file.
|
public static void writeToFile(java.io.File file, ClassFile classFile) throws InvalidByteCodeException, java.io.IOException
file
- the file to which to write the ClassFile structureclassFile
- the ClassFile structure to be writtenInvalidByteCodeException
- if the code is invalidjava.io.IOException
- if an exception occurs while reading the file