}
outputFile.mkdirs();
outputFile = new File(outputFile, fileName.replace("/", File.separator));
doclet.printNotice("Generating UML diagram " + outputFile);
// render
SourceStringReader reader = new SourceStringReader(new Defines(), source, config);
try {
reader.generateImage(outputFile);
}
catch ( IOException e ) {
doclet.printError(tag.position(), "Error generating UML image " + outputFile + ": " + e.getLocalizedMessage());