/** * Generate all files under {@code destinationPath} * * @throws IOException if the files cannot be generated */ public void generateSourceFiles() throws IOException { generateFiles(destinationPath.toFile()); }
/** * Generate files under the specified directory * * @param directory the directory under which to generate files * @throws IOException if the files cannot be generated * @deprecated construct {@code HollowAPIGenerator} with a {@code destinationPath} then call {@link #generateSourceFiles()} */ public void generateFiles(String directory) throws IOException { generateFiles(new File(directory)); }