}
}
buf = null;
HashMap typeMap = new HashMap();
Filetype jtype = new Filetype();
jtype.setName("Java");
jtype.setExtensions("java");
jtype.setCommentbegin("/*");
jtype.setCommentend("*/");
typeMap.put("java", jtype);
Filetype xtype = new Filetype();
xtype.setName("XML");
xtype.setExtensions("xml");
xtype.setCommentbegin("<!--");
xtype.setCommentend("-->");
typeMap.put("xml", xtype);
Preprocessor prep = new Preprocessor();
try {
prep.preprocess(indir, outdir, vars, exclude, typeMap, replace, merge);