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