public void writeJarFromContent(final String className, final String content,
      final OutputStream outStream) throws IOException {

    byte[] bytes = compileClass(className, content);

    createJar(className, outStream, bytes);
    return;
  }
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

@param className Name of the class to create
@param content Content of the created class
@param outStream Stream to write the JAR to
@throws IOException If there is a problem creating the output stream for the JAR file.
geode-junit/src/main/java/org/apache/geode/test/compiler/ClassBuilder.java