Method LoadPatterns
LoadPatterns(String)
Read hyphenation patterns from an XML file.
Declaration
public virtual void LoadPatterns(string filename)
Parameters
Type | Name | Description |
---|---|---|
System.String | filename | the filename |
Exceptions
Type | Condition |
---|---|
System.IO.IOException | In case the parsing fails |
LoadPatterns(String, Encoding)
Read hyphenation patterns from an XML file.
Declaration
public virtual void LoadPatterns(string filename, Encoding encoding)
Parameters
Type | Name | Description |
---|---|---|
System.String | filename | the filename |
System.Text.Encoding | encoding | The character encoding to use |
Exceptions
Type | Condition |
---|---|
System.IO.IOException | In case the parsing fails |
LoadPatterns(FileInfo)
Read hyphenation patterns from an XML file.
Declaration
public virtual void LoadPatterns(FileInfo f)
Parameters
Type | Name | Description |
---|---|---|
System.IO.FileInfo | f | a System.IO.FileInfo object representing the file |
Exceptions
Type | Condition |
---|---|
System.IO.IOException | In case the parsing fails |
LoadPatterns(FileInfo, Encoding)
Read hyphenation patterns from an XML file.
Declaration
public virtual void LoadPatterns(FileInfo f, Encoding encoding)
Parameters
Type | Name | Description |
---|---|---|
System.IO.FileInfo | f | a System.IO.FileInfo object representing the file |
System.Text.Encoding | encoding | The character encoding to use |
Exceptions
Type | Condition |
---|---|
System.IO.IOException | In case the parsing fails |
LoadPatterns(Stream)
Read hyphenation patterns from an XML file.
Declaration
public virtual void LoadPatterns(Stream source)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | source | System.IO.Stream input source for the file |
Exceptions
Type | Condition |
---|---|
System.IO.IOException | In case the parsing fails |
LoadPatterns(Stream, Encoding)
Read hyphenation patterns from an XML file.
Declaration
public virtual void LoadPatterns(Stream source, Encoding encoding)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | source | System.IO.Stream input source for the file |
System.Text.Encoding | encoding | The character encoding to use |
Exceptions
Type | Condition |
---|---|
System.IO.IOException | In case the parsing fails |
LoadPatterns(XmlReader)
Read hyphenation patterns from an System.Xml.XmlReader.
Declaration
public virtual void LoadPatterns(XmlReader source)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | source | System.Xml.XmlReader input source for the file |
Exceptions
Type | Condition |
---|---|
System.IO.IOException | In case the parsing fails |