mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
v2.8.1.1
This commit is contained in:
@@ -19,10 +19,10 @@ package gplx.xowa.langs.cases; import gplx.*; import gplx.xowa.*; import gplx.xo
|
||||
import gplx.intl.*;
|
||||
public class Xol_case_mgr_ {
|
||||
@gplx.Internal protected static Xol_case_mgr new_() {return new Xol_case_mgr(Gfo_case_mgr_.Tid_custom);}
|
||||
public static Xol_case_mgr Ascii() {if (mgr_ascii == null) mgr_ascii = new_mgr_ascii_(); return mgr_ascii;} private static Xol_case_mgr mgr_ascii;
|
||||
public static Xol_case_mgr Utf8() {if (mgr_utf8 == null) mgr_utf8 = new_mgr_utf8_(); return mgr_utf8;} private static Xol_case_mgr mgr_utf8;
|
||||
private static Xol_case_mgr new_mgr_ascii_() {
|
||||
Xol_case_mgr rv = new Xol_case_mgr(Gfo_case_mgr_.Tid_ascii);
|
||||
public static Xol_case_mgr A7() {if (mgr_a7 == null) mgr_a7 = new_mgr_a7_(); return mgr_a7;} private static Xol_case_mgr mgr_a7;
|
||||
public static Xol_case_mgr U8() {if (mgr_u8 == null) mgr_u8 = new_mgr_u8_(); return mgr_u8;} private static Xol_case_mgr mgr_u8;
|
||||
private static Xol_case_mgr new_mgr_a7_() {
|
||||
Xol_case_mgr rv = new Xol_case_mgr(Gfo_case_mgr_.Tid_a7);
|
||||
Xol_case_itm[] itms = new Xol_case_itm[]
|
||||
{ Xol_case_itm_.new_(0, "a", "A")
|
||||
, Xol_case_itm_.new_(0, "b", "B")
|
||||
@@ -54,8 +54,8 @@ public class Xol_case_mgr_ {
|
||||
rv.Add_bulk(itms);
|
||||
return rv;
|
||||
}
|
||||
private static Xol_case_mgr new_mgr_utf8_() {
|
||||
Xol_case_mgr rv = new Xol_case_mgr(Gfo_case_mgr_.Tid_utf8);
|
||||
private static Xol_case_mgr new_mgr_u8_() {
|
||||
Xol_case_mgr rv = new Xol_case_mgr(Gfo_case_mgr_.Tid_u8);
|
||||
Xol_case_itm[] itms = new Xol_case_itm[]
|
||||
{ Xol_case_itm_.new_(Xol_case_itm_.Tid_both, Bry_.ints_(97), Bry_.ints_(65)) // a -> A -- LATIN CAPITAL LETTER A
|
||||
, Xol_case_itm_.new_(Xol_case_itm_.Tid_both, Bry_.ints_(98), Bry_.ints_(66)) // b -> B -- LATIN CAPITAL LETTER B
|
||||
|
||||
@@ -70,7 +70,7 @@ class Xol_case_mgr_fxt {
|
||||
return this;
|
||||
}
|
||||
public Xol_case_mgr_fxt Init_ltrs_universal() {
|
||||
case_mgr = Xol_case_mgr_.Utf8();
|
||||
case_mgr = Xol_case_mgr_.U8();
|
||||
return this;
|
||||
}
|
||||
public Xol_case_mgr_fxt Upper(String raw_str, String expd) {return Case_build(Bool_.Y, raw_str, expd);}
|
||||
|
||||
Reference in New Issue
Block a user