public LoadPatterns ( FileInfo f ) : void | ||
f | FileInfo | the filename |
return | void |
public virtual void LoadPatterns(FileInfo f)
{
LoadPatterns(f, Encoding.UTF8);
}
HyphenationTree::LoadPatterns ( FileInfo f, |
|
HyphenationTree::LoadPatterns ( System.Stream source ) : void | |
HyphenationTree::LoadPatterns ( System.Stream source, |
|
HyphenationTree::LoadPatterns ( XmlReader source ) : void | |
HyphenationTree::LoadPatterns ( string filename ) : void | |
HyphenationTree::LoadPatterns ( string filename, |
/// <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; }