public void writeJarFromContent(final String className,final String content,final File outputFile) throws IOException {
  FileOutputStream fileOutputStream=new FileOutputStream(outputFile);
  writeJarFromContent(className,content,fileOutputStream);
  fileOutputStream.close();
}

public void writeJarFromContent ( final String className , final String content , final File outputFile ) throws IOException { FileOutputStream fileOutputStream = new FileOutputStream ( outputFile ) ; writeJarFromContent ( className , content , fileOutputStream ) ; fileOutputStream . close ( ) ; }
write a jar with a class of the given name with the provided content . the classname may have a package separated by / . for example : my / package / myclass
