/** * {@icu} Returns a new instance of BreakIterator that locates word boundaries. * @param where A locale specifying the language of the text to be * analyzed. * @return An instance of BreakIterator that locates word boundaries. * @throws NullPointerException if <code>where</code> is null. * @stable ICU 3.2 */ public static BreakIterator getWordInstance(ULocale where) { return getBreakInstance(where, KIND_WORD); }
/** * {@icu} Returns a new instance of BreakIterator that locates sentence boundaries. * @param where A Locale specifying the language of the text being analyzed. * @return A new instance of BreakIterator that locates sentence boundaries. * @throws NullPointerException if <code>where</code> is null. * @stable ICU 3.2 */ public static BreakIterator getSentenceInstance(ULocale where) { return getBreakInstance(where, KIND_SENTENCE); }
/** * Returns a new instance of BreakIterator that locates legal line- * wrapping positions. * @param where A Locale specifying the language of the text being broken. * @return A new instance of BreakIterator that locates legal * line-wrapping positions. * @stable ICU 2.0 */ public static BreakIterator getLineInstance(Locale where) { return getBreakInstance(where, KIND_LINE); }
/** * Returns a new instance of BreakIterator that locates logical-character * boundaries. * @param where A Locale specifying the language of the text being analyzed. * @return A new instance of BreakIterator that locates logical-character * boundaries. * @stable ICU 2.0 */ public static BreakIterator getCharacterInstance(Locale where) { return getBreakInstance(where, KIND_CHARACTER); }
/** * Returns a new instance of BreakIterator that locates sentence boundaries. * @param where A Locale specifying the language of the text being analyzed. * @return A new instance of BreakIterator that locates sentence boundaries. * @stable ICU 2.0 */ public static BreakIterator getSentenceInstance(Locale where) { return getBreakInstance(where, KIND_SENTENCE); }
/** * Returns a new instance of BreakIterator that locates word boundaries. * @param where A locale specifying the language of the text to be * analyzed. * @return An instance of BreakIterator that locates word boundaries. * @stable ICU 2.0 */ public static BreakIterator getWordInstance(Locale where) { return getBreakInstance(where, KIND_WORD); }
/** * Returns a new instance of BreakIterator that locates logical-character * boundaries. * @param where A Locale specifying the language of the text being analyzed. * @return A new instance of BreakIterator that locates logical-character * boundaries. * @stable ICU 2.0 */ public static BreakIterator getCharacterInstance(Locale where) { return getBreakInstance(where, KIND_CHARACTER); }
/** * Returns a new instance of BreakIterator that locates sentence boundaries. * @param where A Locale specifying the language of the text being analyzed. * @return A new instance of BreakIterator that locates sentence boundaries. * @stable ICU 2.0 */ public static BreakIterator getSentenceInstance(Locale where) { return getBreakInstance(where, KIND_SENTENCE); }
/** * Returns a new instance of BreakIterator that locates word boundaries. * @param where A locale specifying the language of the text to be * analyzed. * @return An instance of BreakIterator that locates word boundaries. * @stable ICU 2.0 */ public static BreakIterator getWordInstance(Locale where) { return getBreakInstance(where, KIND_WORD); }
/** * {@icu} Returns a new instance of BreakIterator that locates word boundaries. * @param where A locale specifying the language of the text to be * analyzed. * @return An instance of BreakIterator that locates word boundaries. * @stable ICU 3.2 */ public static BreakIterator getWordInstance(ULocale where) { return getBreakInstance(where.toLocale(), KIND_WORD); }
/** * {@icu} Returns a new instance of BreakIterator that locates word boundaries. * @param where A locale specifying the language of the text to be * analyzed. * @return An instance of BreakIterator that locates word boundaries. * @stable ICU 3.2 */ public static BreakIterator getWordInstance(ULocale where) { return getBreakInstance(where.toLocale(), KIND_WORD); }
/** * {@icu} Returns a new instance of BreakIterator that locates sentence boundaries. * @param where A Locale specifying the language of the text being analyzed. * @return A new instance of BreakIterator that locates sentence boundaries. * @stable ICU 3.2 */ public static BreakIterator getSentenceInstance(ULocale where) { return getBreakInstance(where.toLocale(), KIND_SENTENCE); }
/** * Returns a new instance of BreakIterator that locates sentence boundaries. * @param where A Locale specifying the language of the text being analyzed. * @return A new instance of BreakIterator that locates sentence boundaries. * @throws NullPointerException if <code>where</code> is null. * @stable ICU 2.0 */ public static BreakIterator getSentenceInstance(Locale where) { return getBreakInstance(ULocale.forLocale(where), KIND_SENTENCE); }
/** * {@icu} Returns a new instance of BreakIterator that locates legal line- * wrapping positions. * @param where A Locale specifying the language of the text being broken. * @return A new instance of BreakIterator that locates legal * line-wrapping positions. * @stable ICU 3.2 */ public static BreakIterator getLineInstance(ULocale where) { return getBreakInstance(where.toLocale(), KIND_LINE); }
/** * Returns a particular kind of BreakIterator for a locale. * Avoids writing a switch statement with getXYZInstance(where) calls. * @internal * @deprecated This API is ICU internal only. */ public static BreakIterator getBreakInstance(ULocale where, int kind) { return getBreakInstance(where.toLocale(), KIND_SENTENCE); }
/** * {@icu} Returns a new instance of BreakIterator that locates logical-character * boundaries. * @param where A Locale specifying the language of the text being analyzed. * @return A new instance of BreakIterator that locates logical-character * boundaries. * @stable ICU 3.2 */ public static BreakIterator getCharacterInstance(ULocale where) { return getBreakInstance(where.toLocale(), KIND_CHARACTER); }
/** * Returns a particular kind of BreakIterator for a locale. * Avoids writing a switch statement with getXYZInstance(where) calls. * @internal * @deprecated This API is ICU internal only. */ public static BreakIterator getBreakInstance(ULocale where, int kind) { return getBreakInstance(where.toLocale(), KIND_SENTENCE); }
/** * {@icu} Returns a new instance of BreakIterator that locates legal line- * wrapping positions. * @param where A Locale specifying the language of the text being broken. * @return A new instance of BreakIterator that locates legal * line-wrapping positions. * @stable ICU 3.2 */ public static BreakIterator getLineInstance(ULocale where) { return getBreakInstance(where.toLocale(), KIND_LINE); }
/** * {@icu} Returns a new instance of BreakIterator that locates sentence boundaries. * @param where A Locale specifying the language of the text being analyzed. * @return A new instance of BreakIterator that locates sentence boundaries. * @stable ICU 3.2 */ public static BreakIterator getSentenceInstance(ULocale where) { return getBreakInstance(where.toLocale(), KIND_SENTENCE); }
/** * {@icu} Returns a new instance of BreakIterator that locates logical-character * boundaries. * @param where A Locale specifying the language of the text being analyzed. * @return A new instance of BreakIterator that locates logical-character * boundaries. * @stable ICU 3.2 */ public static BreakIterator getCharacterInstance(ULocale where) { return getBreakInstance(where.toLocale(), KIND_CHARACTER); }