public static FileWriter createSrcFile ( String name , String packageName , String outDir ) throws IOException { String directory = "src" + File . separatorChar + "main" + File . separatorChar + "java" ; return createPackageFile ( name , packageName , directory , outDir ) ; }
Create source file