Lines Matching refs:defaultCountry
58 String defaultCountry = null; in doPost() local
74 defaultCountry = Streams.asString(in).toUpperCase(); in doPost()
97 output = getOutputForSingleNumber(phoneNumber, defaultCountry, languageCode, regionCode); in doPost()
106 resp.getWriter().println("defaultCountry entered: " + defaultCountry + "<br>"); in doPost()
111 output = getOutputForFile(defaultCountry, fileContents); in doPost()
118 private StringBuilder getOutputForFile(String defaultCountry, String fileContents) { in getOutputForFile() argument
137 PhoneNumber number = phoneUtil.parseAndKeepRawInput(numberStr, defaultCountry); in getOutputForFile()
140 ? phoneUtil.formatInOriginalFormat(number, defaultCountry) in getOutputForFile()
170 String phoneNumber, String defaultCountry, String languageCode, String regionCode) { in getOutputForSingleNumber() argument
173 PhoneNumber number = phoneUtil.parseAndKeepRawInput(phoneNumber, defaultCountry); in getOutputForSingleNumber()
203 if (!defaultCountry.isEmpty() && defaultCountry != "ZZ") { in getOutputForSingleNumber()
206 Boolean.toString(phoneUtil.isValidNumberForRegion(number, defaultCountry)), in getOutputForSingleNumber()
224 phoneUtil.formatInOriginalFormat(number, defaultCountry), output); in getOutputForSingleNumber()
241 AsYouTypeFormatter formatter = phoneUtil.getAsYouTypeFormatter(defaultCountry); in getOutputForSingleNumber()