jdk/make/src/classes/build/tools/cldrconverter/Bundle.java
changeset 32030 f2c22ba89d0f
parent 32015 eda394dcd1aa
child 32510 7530a468314c
equal deleted inserted replaced
32029:a5538163e144 32030:f2c22ba89d0f
   146 
   146 
   147     String getID() {
   147     String getID() {
   148         return id;
   148         return id;
   149     }
   149     }
   150 
   150 
       
   151     String getJavaID() {
       
   152         // Tweak ISO compatibility for bundle generation
       
   153         return id.replaceFirst("^he", "iw")
       
   154             .replaceFirst("^id", "in")
       
   155             .replaceFirst("^yi", "ji");
       
   156     }
       
   157 
   151     boolean isRoot() {
   158     boolean isRoot() {
   152         return "root".equals(id);
   159         return "root".equals(id);
   153     }
   160     }
   154 
   161 
   155     String getCLDRPath() {
   162     String getCLDRPath() {