Home
last modified time | relevance | path

Searched refs:lastIndex2 (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/localeconverter/
DXLIFF2ICUConverter.java237 int lastIndex2 = fName.lastIndexOf('.', fName.length()); in getFullPath() local
239 if(lastIndex2 == -1){ in getFullPath()
242 if(!fName.substring(lastIndex2).equalsIgnoreCase(".txt")){ in getFullPath()
243 fName = fName.substring(lastIndex1,lastIndex2) + ".txt"; in getFullPath()
252 if(lastIndex2 == -1){ in getFullPath()
255 …if(!fName.substring(lastIndex2).equalsIgnoreCase(".xml") && fName.substring(lastIndex2).equalsIgno… in getFullPath()
256 fName = fName.substring(lastIndex1,lastIndex2) + ".xlf"; in getFullPath()
/external/cldr/tools/java/org/unicode/cldr/util/
DLDMLUtilities.java2163 int lastIndex2 = fName.lastIndexOf('.', fName.length()); in getFullPath() local
2165 if (lastIndex2 == -1) { in getFullPath()
2168 if (!fName.substring(lastIndex2).equalsIgnoreCase(".txt")) { in getFullPath()
2169 fName = fName.substring(lastIndex1, lastIndex2) + ".txt"; in getFullPath()
2178 if (lastIndex2 == -1) { in getFullPath()
2181 if (!fName.substring(lastIndex2).equalsIgnoreCase(".xml") in getFullPath()
2182 && fName.substring(lastIndex2).equalsIgnoreCase(".xlf")) { in getFullPath()
2183 fName = fName.substring(lastIndex1, lastIndex2) + ".xml"; in getFullPath()