KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ibm > icu > impl > data > BreakIteratorRules


1 /*
2  *******************************************************************************
3  * Copyright (C) 1996-2005, International Business Machines Corporation and *
4  * others. All Rights Reserved. *
5  *******************************************************************************
6  */

7 package com.ibm.icu.impl.data;
8
9 import java.util.ListResourceBundle JavaDoc;
10
11 /**
12  * Default break-iterator rules.
13  * This resource tells which break iterator class type is instantiated
14  * for each of the standard (built-in) boundary types.
15  *
16  * Locales (Thai) needing a dictionary based iterator override this.
17  */

18
19 public class BreakIteratorRules extends ListResourceBundle JavaDoc {
20     public Object JavaDoc[][] getContents() {
21         return contents;
22     }
23
24     static final Object JavaDoc[][] contents = {
25         // BreakIteratorClasses lists the class names to instantiate for each
26
// built-in type of BreakIterator
27
{ "BreakIteratorClasses",
28             new String JavaDoc[] { "RuleBasedBreakIterator", // character-break iterator class
29
"RuleBasedBreakIterator", // word-break iterator class
30
"RuleBasedBreakIterator", // line-break iterator class
31
"RuleBasedBreakIterator", // sentence-break iterator class
32
"RuleBasedBreakIterator"} // Title-Case break iterator class
33
}
34
35     };
36 }
37
Popular Tags