|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sourceforge.jemm.weaver.io.FileWriter
public class FileWriter
FileWriter is a ClassWriter that outputs to a directory structure. com.foo.Bar would be written to $basedir/com/foo/Bar.class
| Constructor Summary | |
|---|---|
FileWriter(java.io.File baseDirectory)
Constructs a FileWriter with the given base output directory. |
|
| Method Summary | |
|---|---|
void |
writeClass(java.lang.String className,
byte[] clazz)
Writes the class to the underlying system of storage. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileWriter(java.io.File baseDirectory)
baseDirectory - The base output directory.| Method Detail |
|---|
public void writeClass(java.lang.String className,
byte[] clazz)
throws java.io.IOException
ClassWriter
writeClass in interface ClassWriterclassName - Fully qualified file name - eg com/package/Name.classclazz - The bytes representing the class byte codes.
java.io.IOException - When the base path can't be found or a problem was found in writing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||