![JAR search and dependency download from the Maven repository](/logo.png)
com.ibm.icu.impl.data.BreakIteratorRules_th Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vaadin-client-compiler-deps Show documentation
Show all versions of vaadin-client-compiler-deps Show documentation
Vaadin is a web application framework for Rich Internet Applications (RIA).
Vaadin enables easy development and maintenance of fast and
secure rich web
applications with a stunning look and feel and a wide browser support.
It features a server-side architecture with the majority of the logic
running
on the server. Ajax technology is used at the browser-side to ensure a
rich
and interactive user experience.
/*
*******************************************************************************
* Copyright (C) 1996-2005, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
package com.ibm.icu.impl.data;
import java.util.ListResourceBundle;
import com.ibm.icu.impl.ICUData;
public class BreakIteratorRules_th extends ListResourceBundle {
private static final String DATA_NAME = "data/th.brk";
public Object[][] getContents() {
final boolean exists = ICUData.exists(DATA_NAME);
// if dictionary wasn't found, then this resource bundle doesn't have
// much to contribute...
if (!exists) {
return new Object[0][0];
}
return new Object[][] {
// names of classes to instantiate for the different kinds of break
// iterator. Notice we're now using DictionaryBasedBreakIterator
// for word and line breaking.
{ "BreakIteratorClasses",
new String[] { "RuleBasedBreakIterator", // character-break iterator class
"DictionaryBasedBreakIterator", // word-break iterator class
"DictionaryBasedBreakIterator", // line-break iterator class
"RuleBasedBreakIterator" } // sentence-break iterator class
},
{ "WordBreakDictionary", DATA_NAME }, // now a path to ICU4J-specific resource
{ "LineBreakDictionary", DATA_NAME }
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy