if (f.getName().endsWith(".java")) {
BufferedReader br = null;
try {
br = new BufferedReader(new FileReader(f));
String sourceIn = IOHelper.readEntirely(br);
Renderer r = new JavaXhtmlRenderer();
String sourceDecorated = r.highlight(f.getName(), sourceIn, "UTF-8", false);
return new StringReader(sourceDecorated);
} catch (IOException ioe) {
LOGGER.debug("cannot decorate java file " + f);
return new FileReader(f);
} finally {