Method toString()
Return type:
java.lang.String
Member of:
java.util.Locale
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
return parent.getLocale().toString().replace('_', '-');
2
return (MessageFormat) this.messages.get(code + "_" + locale.toString());
3
return new URL(fLocation, fLocale.toString().toLowerCase() + "." + JavaUIMessages.getString("Spelling.dictionary.file.extension")); //$NON-NLS-1$ //$NON-NLS-2$
4
String name = loc.toString().replace('_', '-');
5
this.messages.put(code + "_" + locale.toString(), new MessageFormat(message));
6
throw new MissingResourceException("Locale not found!", locale.toString(), resourceName);
7
clientLocale = Locale.getDefault().toString();
8
localeText.setText(locale.toString());
9
"currencyconverter.symbols." + locale.toString());
10
transformer.setParameter("request.locale", locale.toString());
11
type.getName() + "[] using " + locale.toString() +
12
localeValues.add(list[i].toString());
13
key = defaultLocale.toString();
14
msg.append("REQUEST PREFERRED LOCALE: ").append(request.getLocale().toString()).append(lineSeparator);
15
return loc.toString();
16
.addElement(new td().addElement(request.getLocale().toString() )));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.