LoadPatterns() public method

Read hyphenation patterns from an XML file.
In case the parsing fails
public LoadPatterns ( FileInfo f ) : void
f FileInfo the filename
return void
 /// <summary>
 /// Create a hyphenator tree
 /// </summary>
 /// <param name="hyphenationSource"> the InputSource pointing to the XML grammar </param>
 /// <returns> An object representing the hyphenation patterns </returns>
 /// <exception cref="IOException"> If there is a low-level I/O error. </exception>
 public static HyphenationTree GetHyphenationTree(Stream hyphenationSource, Encoding encoding)
 {
     var tree = new HyphenationTree();
     tree.LoadPatterns(hyphenationSource, encoding);
     return tree;
 }