Searched refs:localeString (Results 1 – 1 of 1) sorted by relevance
298 String localeString = filename.substring(7); in getLocaleFromFilename() local299 if (localeString.matches("[A-Za-z]+")) { in getLocaleFromFilename()300 return Locale.forLanguageTag(localeString); in getLocaleFromFilename()302 if (localeString.matches("[A-Za-z]+-r[A-Za-z]+")) { in getLocaleFromFilename()304 String[] tokens = localeString.split("-r"); in getLocaleFromFilename()307 if (localeString.startsWith("b+")) { in getLocaleFromFilename()309 String[] tokens = localeString.substring(2).split("\\+"); in getLocaleFromFilename()313 throw new IOException("Unrecognized locale string " + localeString); in getLocaleFromFilename()354 String localeString = name.substring(7); in readLocalizedStringFromXmls() local355 if (localesSet != null && !localesSet.contains(localeString)) { in readLocalizedStringFromXmls()[all …]