static Transliterator getBasicInstance ( String id , String canonID ) { StringBuffer s = new StringBuffer ( ) ; Transliterator t = registry . get ( id , s ) ; if ( s . length ( ) != 0 ) { // assert(t==0); // Instantiate an alias t = getInstance ( s . toString ( ) , FORWARD ) ; } if ( t != null && canonID != null ) { t . setID ( canonID ) ; } return t ; }
Create a transliterator from a basic ID . This is an ID containing only the forward direction source target and variant .