/*
* serializes pattern files
*/
private void buildPatternFile (File infile, File outfile) {
System.out.println("Processing " + infile);
HyphenationTree hTree = new HyphenationTree();
try {
hTree.loadPatterns(infile.toString());
if (errorDump) {
System.out.println("Stats: ");
hTree.printStats();
}
} catch (HyphenationException ex) {
System.err.println("Can't load patterns from xml file " +
infile + " - Maybe hyphenation.dtd is missing?");
if (errorDump) {