Home | History | Annotate | Download | only in text

Lines Matching defs:where

43  * <li>getLineInstance() returns a BreakIterator that locates positions where it is
558 * @param where A locale specifying the language of the text to be
561 * @throws NullPointerException if <code>where</code> is null.
563 public static BreakIterator getWordInstance(Locale where)
565 return getBreakInstance(ULocale.forLocale(where), KIND_WORD);
570 * @param where A locale specifying the language of the text to be
573 * @throws NullPointerException if <code>where</code> is null.
575 public static BreakIterator getWordInstance(ULocale where)
577 return getBreakInstance(where, KIND_WORD);
595 * @param where A Locale specifying the language of the text being broken.
598 * @throws NullPointerException if <code>where</code> is null.
600 public static BreakIterator getLineInstance(Locale where)
602 return getBreakInstance(ULocale.forLocale(where), KIND_LINE);
608 * @param where A Locale specifying the language of the text being broken.
611 * @throws NullPointerException if <code>where</code> is null.
613 public static BreakIterator getLineInstance(ULocale where)
615 return getBreakInstance(where, KIND_LINE);
633 * @param where A Locale specifying the language of the text being analyzed.
636 * @throws NullPointerException if <code>where</code> is null.
638 public static BreakIterator getCharacterInstance(Locale where)
640 return getBreakInstance(ULocale.forLocale(where), KIND_CHARACTER);
646 * @param where A Locale specifying the language of the text being analyzed.
649 * @throws NullPointerException if <code>where</code> is null.
651 public static BreakIterator getCharacterInstance(ULocale where)
653 return getBreakInstance(where, KIND_CHARACTER);
669 * @param where A Locale specifying the language of the text being analyzed.
671 * @throws NullPointerException if <code>where</code> is null.
673 public static BreakIterator getSentenceInstance(Locale where)
675 return getBreakInstance(ULocale.forLocale(where), KIND_SENTENCE);
680 * @param where A Locale specifying the language of the text being analyzed.
682 * @throws NullPointerException if <code>where</code> is null.
684 public static BreakIterator getSentenceInstance(ULocale where)
686 return getBreakInstance(where, KIND_SENTENCE);
707 * @param where A Locale specifying the language of the text being analyzed.
709 * @throws NullPointerException if <code>where</code> is null.
711 public static BreakIterator getTitleInstance(Locale where)
713 return getBreakInstance(ULocale.forLocale(where), KIND_TITLE);
721 * @param where A Locale specifying the language of the text being analyzed.
723 * @throws NullPointerException if <code>where</code> is null.*/
724 public static BreakIterator getTitleInstance(ULocale where)
726 return getBreakInstance(where, KIND_TITLE);
816 * Avoids writing a switch statement with getXYZInstance(where) calls.
822 public static BreakIterator getBreakInstance(ULocale where, int kind) {
823 if (where == null) {
829 if (cache.getLocale().equals(where)) {
836 BreakIterator result = getShim().createBreakIterator(where, kind);
838 BreakIteratorCache cache = new BreakIteratorCache(where, result);
875 private ULocale where;
877 BreakIteratorCache(ULocale where, BreakIterator iter) {
878 this.where = where;
883 return where;