示例#1
0
 /// <summary>
 /// Returns a new instance of
 /// <code>BreakIterator</code>
 /// to iterate over
 /// sentence-breaks using the given locale.
 /// </summary>
 /// <param name="where">the given locale.</param>
 /// <returns>
 /// a new instance of
 /// <code>BreakIterator</code>
 /// using the given locale.
 /// </returns>
 /// <exception cref="System.ArgumentNullException">
 /// if
 /// <code>where</code>
 /// is
 /// <code>null</code>
 /// .
 /// </exception>
 public static BreakIterator getSentenceInstance(CultureInfo culture)
 {
     return(XobotBreakIterator.GetSentenceInstance(culture));
 }
示例#2
0
 /// <summary>
 /// Returns a new instance of
 /// <code>BreakIterator</code>
 /// to iterate over
 /// characters using the given locale.
 /// </summary>
 /// <param name="where">the given locale.</param>
 /// <returns>
 /// a new instance of
 /// <code>BreakIterator</code>
 /// using the given locale.
 /// </returns>
 public static BreakIterator getCharacterInstance(CultureInfo culture)
 {
     return(XobotBreakIterator.GetCharacterInstance(culture));
 }