org.sourceforge.jemm.weaver.io
Interface ClassWriter

All Known Implementing Classes:
FileWriter

public interface ClassWriter

A ClassWriter writes out the bytes representing a Class to the file system.

Author:
Paul Keeble

Method Summary
 void writeClass(java.lang.String className, byte[] clazz)
          Writes the class to the underlying system of storage.
 

Method Detail

writeClass

void writeClass(java.lang.String className,
                byte[] clazz)
                throws java.io.IOException
Writes the class to the underlying system of storage.

Parameters:
className - Fully qualified file name - eg com/package/Name.class
clazz - The bytes representing the class byte codes.
Throws:
java.io.IOException - When the base path can't be found or a problem was found in writing


Copyright © 2009. All Rights Reserved.