Lines Matching refs:where

40  * <li>getLineInstance() returns a BreakIterator that locates positions where it is
540 * @param where A locale specifying the language of the text to be
543 * @throws NullPointerException if <code>where</code> is null.
545 public static BreakIterator getWordInstance(Locale where)
547 return getBreakInstance(ULocale.forLocale(where), KIND_WORD);
552 * @param where A locale specifying the language of the text to be
555 * @throws NullPointerException if <code>where</code> is null.
557 public static BreakIterator getWordInstance(ULocale where)
559 return getBreakInstance(where, KIND_WORD);
577 * @param where A Locale specifying the language of the text being broken.
580 * @throws NullPointerException if <code>where</code> is null.
582 public static BreakIterator getLineInstance(Locale where)
584 return getBreakInstance(ULocale.forLocale(where), KIND_LINE);
590 * @param where A Locale specifying the language of the text being broken.
593 * @throws NullPointerException if <code>where</code> is null.
595 public static BreakIterator getLineInstance(ULocale where)
597 return getBreakInstance(where, KIND_LINE);
615 * @param where A Locale specifying the language of the text being analyzed.
618 * @throws NullPointerException if <code>where</code> is null.
620 public static BreakIterator getCharacterInstance(Locale where)
622 return getBreakInstance(ULocale.forLocale(where), KIND_CHARACTER);
628 * @param where A Locale specifying the language of the text being analyzed.
631 * @throws NullPointerException if <code>where</code> is null.
633 public static BreakIterator getCharacterInstance(ULocale where)
635 return getBreakInstance(where, KIND_CHARACTER);
651 * @param where A Locale specifying the language of the text being analyzed.
653 * @throws NullPointerException if <code>where</code> is null.
655 public static BreakIterator getSentenceInstance(Locale where)
657 return getBreakInstance(ULocale.forLocale(where), KIND_SENTENCE);
662 * @param where A Locale specifying the language of the text being analyzed.
664 * @throws NullPointerException if <code>where</code> is null.
666 public static BreakIterator getSentenceInstance(ULocale where)
668 return getBreakInstance(where, KIND_SENTENCE);
689 * @param where A Locale specifying the language of the text being analyzed.
691 * @throws NullPointerException if <code>where</code> is null.
693 public static BreakIterator getTitleInstance(Locale where)
695 return getBreakInstance(ULocale.forLocale(where), KIND_TITLE);
703 * @param where A Locale specifying the language of the text being analyzed.
705 * @throws NullPointerException if <code>where</code> is null.*/
706 public static BreakIterator getTitleInstance(ULocale where)
708 return getBreakInstance(where, KIND_TITLE);
798 * Avoids writing a switch statement with getXYZInstance(where) calls.
804 public static BreakIterator getBreakInstance(ULocale where, int kind) {
805 if (where == null) {
811 if (cache.getLocale().equals(where)) {
818 BreakIterator result = getShim().createBreakIterator(where, kind);
820 BreakIteratorCache cache = new BreakIteratorCache(where, result);
857 private ULocale where;
859 BreakIteratorCache(ULocale where, BreakIterator iter) {
860 this.where = where;
865 return where;