korat.utils
Class BytecodeDumper
java.lang.Object
korat.utils.BytecodeDumper
public class BytecodeDumper
- extends Object
- Author:
- Aleksandar Milicevic
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
private static BytecodeDumper instance
logger
protected Logger logger
rootDir
private String rootDir
classesDir
private String classesDir
BytecodeDumper
public BytecodeDumper()
getInstance
public static BytecodeDumper getInstance()
getRootDir
public String getRootDir()
getClassesDir
public String getClassesDir()
dump
public void dump(byte[] bytes,
String fileName,
boolean splitIntoDirectories)
throws IOException
- Throws:
IOException
cleanRootDir
private void cleanRootDir()
clean
private void clean(File f)
main
public static void main(String[] args)
makeDirs
private void makeDirs(String fileName)
dumpAndEatExceptions
public void dumpAndEatExceptions(byte[] bytes,
String fileName,
boolean splitIntoDirectories)