001: package java.util;
002:
003: import java.io.IOException;
004: import java.io.ObjectInputStream;
005: import java.io.ObjectOutputStream;
006: import java.io.Serializable;
007:
008: public final class Locale implements Serializable, Cloneable {
009: public static final Locale ENGLISH = new Locale("en");
010: public static final Locale FRENCH = new Locale("fr");
011: public static final Locale GERMAN = new Locale("de");
012: public static final Locale ITALIAN = new Locale("it");
013: public static final Locale JAPANESE = new Locale("ja");
014: public static final Locale KOREAN = new Locale("ko");
015: public static final Locale CHINESE = new Locale("zh");
016: public static final Locale SIMPLIFIED_CHINESE = new Locale("zh",
017: "CN");
018: public static final Locale TRADITIONAL_CHINESE = new Locale("zh",
019: "TW");
020: public static final Locale FRANCE = new Locale("fr", "FR");
021: public static final Locale GERMANY = new Locale("de", "DE");
022: public static final Locale ITALY = new Locale("it", "IT");
023: public static final Locale JAPAN = new Locale("ja", "JP");
024: public static final Locale KOREA = new Locale("ko", "KR");
025: public static final Locale CHINA = SIMPLIFIED_CHINESE;
026: public static final Locale PRC = CHINA;
027: public static final Locale TAIWAN = TRADITIONAL_CHINESE;
028: public static final Locale UK = new Locale("en", "GB");
029: public static final Locale US = new Locale("en", "US");
030: public static final Locale CANADA = new Locale("en", "CA");
031: public static final Locale CANADA_FRENCH = new Locale("fr", "CA");
032:
033: private String convertLanguage(String language) {
034: }
035:
036: public Locale(String language, String country, String variant) {
037: }
038:
039: public Locale(String language, String country) {
040: }
041:
042: public Locale(String language) {
043: }
044:
045: public static Locale getDefault() {
046: }
047:
048: public static void setDefault(Locale newLocale) {
049: }
050:
051: public static Locale[] getAvailableLocales() {
052: }
053:
054: public static String[] getISOCountries() {
055: }
056:
057: public static String[] getISOLanguages() {
058: }
059:
060: public String getLanguage() {
061: }
062:
063: public String getCountry() {
064: }
065:
066: public String getVariant() {
067: }
068:
069: public final String toString() {
070: }
071:
072: public String getISO3Language() {
073: }
074:
075: public String getISO3Country() {
076: }
077:
078: public final String getDisplayLanguage() {
079: }
080:
081: public String getDisplayLanguage(Locale locale) {
082: }
083:
084: public final String getDisplayCountry() {
085: }
086:
087: public String getDisplayCountry(Locale locale) {
088: }
089:
090: public final String getDisplayVariant() {
091: }
092:
093: public String getDisplayVariant(Locale locale) {
094: }
095:
096: public final String getDisplayName() {
097: }
098:
099: public String getDisplayName(Locale locale) {
100: }
101:
102: public Object clone() {
103: }
104:
105: public int hashCode() {
106: }
107:
108: public boolean equals(Object obj) {
109: }
110:
111: private void writeObject(ObjectOutputStream s) throws IOException {
112: }
113:
114: private void readObject(ObjectInputStream s) throws IOException,
115: ClassNotFoundException {
116: }
117: }
|