/** * Generates the file from the template. * @param outputFile the file to create */ public void generate(File outputFile) throws IOException { String template = readEmbeddedTextFile(mTemplateStream); String content = replaceParameters(template, mPlaceHolderMap); writeFile(outputFile, content); }
/** * Generates the file from the template. * @param outputFile the file to create */ public void generate(File outputFile) throws IOException { String template = readEmbeddedTextFile(mTemplateStream); String content = replaceParameters(template, mPlaceHolderMap); writeFile(outputFile, content); }