public JavaClassWriter(String outputFolder,String className) throws FileNotFoundException {
  if (className.indexOf("..") > -1) {
    throw new FileNotFoundException("Invalid class name: " + className);
  }
  this.out=new PrintStream(new FileOutputStream(outputFolder + "/" + className+ ".java"));
  this.className=className;
}

public JavaClassWriter ( String outputFolder , String className ) throws FileNotFoundException { if ( className . indexOf ( ".." ) > - 1 ) { throw new FileNotFoundException ( "Invalid class name: " + className ) ; } this . out = new PrintStream ( new FileOutputStream ( outputFolder + "/" + className + ".java" ) ) ; this . className = className ; }
creates a new javaclasswriter
