public class sun.util.resources.LocaleData
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.util.resources.LocaleData
super_class: java.lang.Object
{
private static final java.lang.String localeDataJarName;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "localedata.jar"
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/resources/LocaleData;
public static java.util.Locale[] getAvailableLocales();
descriptor: ()[Ljava/util/Locale;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.util.resources.LocaleData$AvailableLocales.localeList:[Ljava/util/Locale;
invokevirtual java.util.Locale[].clone:()Ljava/lang/Object;
checkcast java.util.Locale[]
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.util.ResourceBundle getCalendarData(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/util/ResourceBundle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "sun.util.resources.CalendarData"
aload 0
invokestatic sun.util.resources.LocaleData.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public static sun.util.resources.OpenListResourceBundle getCurrencyNames(java.util.Locale);
descriptor: (Ljava/util/Locale;)Lsun/util/resources/OpenListResourceBundle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "sun.util.resources.CurrencyNames"
aload 0
invokestatic sun.util.resources.LocaleData.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
checkcast sun.util.resources.OpenListResourceBundle
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public static sun.util.resources.OpenListResourceBundle getLocaleNames(java.util.Locale);
descriptor: (Ljava/util/Locale;)Lsun/util/resources/OpenListResourceBundle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "sun.util.resources.LocaleNames"
aload 0
invokestatic sun.util.resources.LocaleData.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
checkcast sun.util.resources.OpenListResourceBundle
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public static sun.util.resources.OpenListResourceBundle getTimeZoneNames(java.util.Locale);
descriptor: (Ljava/util/Locale;)Lsun/util/resources/OpenListResourceBundle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "sun.util.resources.TimeZoneNames"
aload 0
invokestatic sun.util.resources.LocaleData.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
checkcast sun.util.resources.OpenListResourceBundle
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public static java.util.ResourceBundle getCollationData(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/util/ResourceBundle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "sun.text.resources.CollationData"
aload 0
invokestatic sun.util.resources.LocaleData.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public static java.util.ResourceBundle getDateFormatData(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/util/ResourceBundle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "sun.text.resources.FormatData"
aload 0
invokestatic sun.util.resources.LocaleData.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public static java.util.ResourceBundle getNumberFormatData(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/util/ResourceBundle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "sun.text.resources.FormatData"
aload 0
invokestatic sun.util.resources.LocaleData.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
private static java.util.ResourceBundle getBundle(java.lang.String, java.util.Locale);
descriptor: (Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new sun.util.resources.LocaleData$1
dup
aload 0
aload 1
invokespecial sun.util.resources.LocaleData$1.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.util.ResourceBundle
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 baseName Ljava/lang/String;
0 1 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
baseName final
locale final
private static boolean isNonEuroLangSupported();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=0
0: getstatic java.io.File.separator:Ljava/lang/String;
astore 0
start local 0 1: new java.lang.StringBuilder
dup
2: new sun.security.action.GetPropertyAction
dup
ldc "java.home"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "lib"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "ext"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "localedata.jar"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: astore 1
start local 1 7: new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 2
start local 2 8: new sun.util.resources.LocaleData$2
dup
aload 2
invokespecial sun.util.resources.LocaleData$2.<init>:(Ljava/io/File;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
9: invokevirtual java.lang.Boolean.booleanValue:()Z
10: istore 3
start local 3 11: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 12 0 sep Ljava/lang/String;
7 12 1 localeDataJar Ljava/lang/String;
8 12 2 f Ljava/io/File;
11 12 3 isNonEuroResJarExist Z
private static java.util.Locale[] createLocaleList();
descriptor: ()[Ljava/util/Locale;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=11, args_size=0
0: ldc "sun.text.resources.FormatData"
invokestatic sun.util.LocaleDataMetaInfo.getSupportedLocaleString:(Ljava/lang/String;)Ljava/lang/String;
1: astore 0
start local 0 2: aload 0
invokevirtual java.lang.String.length:()I
ifne 4
3: aconst_null
areturn
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
ldc "|"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 1
start local 1 5: aconst_null
astore 2
start local 2 6: invokestatic sun.util.resources.LocaleData.isNonEuroLangSupported:()Z
ifeq 11
7: new java.util.StringTokenizer
dup
new java.lang.StringBuilder
dup
aload 0
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: aload 0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 2
10: goto 13
11: StackMap locals: int java.util.StringTokenizer
StackMap stack:
new java.util.StringTokenizer
dup
aload 0
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
12: invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 2
13: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.countTokens:()I
anewarray java.util.Locale
astore 3
start local 3 14: iconst_0
istore 4
start local 4 15: goto 35
16: StackMap locals: java.util.Locale[] int
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 5
start local 5 17: iconst_0
istore 6
start local 6 18: aload 5
bipush 95
invokevirtual java.lang.String.indexOf:(I)I
istore 7
start local 7 19: ldc ""
astore 8
start local 8 20: ldc ""
astore 9
start local 9 21: ldc ""
astore 10
start local 10 22: iload 7
iconst_m1
if_icmpne 25
23: aload 5
astore 8
24: goto 33
25: StackMap locals: java.lang.String int java.util.StringTokenizer java.util.Locale[] int java.lang.String int int java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 5
iconst_0
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 8
26: aload 5
bipush 95
iload 7
iconst_1
iadd
invokevirtual java.lang.String.indexOf:(II)I
istore 6
27: iload 6
iconst_m1
if_icmpne 30
28: aload 5
iload 7
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 9
29: goto 33
30: StackMap locals:
StackMap stack:
aload 5
iload 7
iconst_1
iadd
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 9
31: iload 6
aload 5
invokevirtual java.lang.String.length:()I
if_icmpge 33
32: aload 5
iload 6
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 10
33: StackMap locals:
StackMap stack:
aload 3
iload 4
new java.util.Locale
dup
aload 8
aload 9
aload 10
invokespecial java.util.Locale.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
aastore
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 34: iinc 4 1
StackMap locals: java.lang.String int java.util.StringTokenizer java.util.Locale[] int
StackMap stack:
35: iload 4
aload 3
arraylength
if_icmplt 16
end local 4 36: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
2 37 0 supportedLocaleString Ljava/lang/String;
5 37 1 barIndex I
6 37 2 localeStringTokenizer Ljava/util/StringTokenizer;
14 37 3 locales [Ljava/util/Locale;
15 36 4 i I
17 34 5 currentToken Ljava/lang/String;
18 34 6 p2 I
19 34 7 p1 I
20 34 8 language Ljava/lang/String;
21 34 9 country Ljava/lang/String;
22 34 10 variant Ljava/lang/String;
}
SourceFile: "LocaleData.java"
NestMembers:
sun.util.resources.LocaleData$1 sun.util.resources.LocaleData$2 sun.util.resources.LocaleData$AvailableLocales sun.util.resources.LocaleData$LocaleDataResourceBundleControl
InnerClasses:
sun.util.resources.LocaleData$1
sun.util.resources.LocaleData$2
private AvailableLocales = sun.util.resources.LocaleData$AvailableLocales of sun.util.resources.LocaleData
LocaleDataResourceBundleControl = sun.util.resources.LocaleData$LocaleDataResourceBundleControl of sun.util.resources.LocaleData