public final class javax.imageio.spi.IIORegistry extends javax.imageio.spi.ServiceRegistry
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: javax.imageio.spi.IIORegistry
super_class: javax.imageio.spi.ServiceRegistry
{
private static final java.util.Vector<java.lang.Class<?>> initialCategories;
descriptor: Ljava/util/Vector;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Vector<Ljava/lang/Class<*>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.util.Vector
dup
iconst_5
invokespecial java.util.Vector.<init>:(I)V
putstatic javax.imageio.spi.IIORegistry.initialCategories:Ljava/util/Vector;
1: getstatic javax.imageio.spi.IIORegistry.initialCategories:Ljava/util/Vector;
ldc Ljavax/imageio/spi/ImageReaderSpi;
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
2: getstatic javax.imageio.spi.IIORegistry.initialCategories:Ljava/util/Vector;
ldc Ljavax/imageio/spi/ImageWriterSpi;
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
3: getstatic javax.imageio.spi.IIORegistry.initialCategories:Ljava/util/Vector;
ldc Ljavax/imageio/spi/ImageTranscoderSpi;
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
4: getstatic javax.imageio.spi.IIORegistry.initialCategories:Ljava/util/Vector;
ldc Ljavax/imageio/spi/ImageInputStreamSpi;
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
5: getstatic javax.imageio.spi.IIORegistry.initialCategories:Ljava/util/Vector;
ldc Ljavax/imageio/spi/ImageOutputStreamSpi;
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
6: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic javax.imageio.spi.IIORegistry.initialCategories:Ljava/util/Vector;
invokevirtual java.util.Vector.iterator:()Ljava/util/Iterator;
invokespecial javax.imageio.spi.ServiceRegistry.<init>:(Ljava/util/Iterator;)V
1: aload 0
invokevirtual javax.imageio.spi.IIORegistry.registerStandardSpis:()V
2: aload 0
invokevirtual javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/imageio/spi/IIORegistry;
public static javax.imageio.spi.IIORegistry getDefaultInstance();
descriptor: ()Ljavax/imageio/spi/IIORegistry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=0
0: invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
astore 0
start local 0 1: aload 0
ldc Ljavax/imageio/spi/IIORegistry;
invokevirtual sun.awt.AppContext.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.imageio.spi.IIORegistry
2: astore 1
start local 1 3: aload 1
ifnonnull 6
4: new javax.imageio.spi.IIORegistry
dup
invokespecial javax.imageio.spi.IIORegistry.<init>:()V
astore 1
5: aload 0
ldc Ljavax/imageio/spi/IIORegistry;
aload 1
invokevirtual sun.awt.AppContext.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: StackMap locals: sun.awt.AppContext javax.imageio.spi.IIORegistry
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 7 0 context Lsun/awt/AppContext;
3 7 1 registry Ljavax/imageio/spi/IIORegistry;
private void registerStandardSpis();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new com.sun.imageio.plugins.gif.GIFImageReaderSpi
dup
invokespecial com.sun.imageio.plugins.gif.GIFImageReaderSpi.<init>:()V
invokevirtual javax.imageio.spi.IIORegistry.registerServiceProvider:(Ljava/lang/Object;)V
1: aload 0
new com.sun.imageio.plugins.gif.GIFImageWriterSpi
dup
invokespecial com.sun.imageio.plugins.gif.GIFImageWriterSpi.<init>:()V
invokevirtual javax.imageio.spi.IIORegistry.registerServiceProvider:(Ljava/lang/Object;)V
2: aload 0
new com.sun.imageio.plugins.bmp.BMPImageReaderSpi
dup
invokespecial com.sun.imageio.plugins.bmp.BMPImageReaderSpi.<init>:()V
invokevirtual javax.imageio.spi.IIORegistry.registerServiceProvider:(Ljava/lang/Object;)V
3: aload 0
new com.sun.imageio.plugins.bmp.BMPImageWriterSpi
dup
invokespecial com.sun.imageio.plugins.bmp.BMPImageWriterSpi.<init>:()V
invokevirtual javax.imageio.spi.IIORegistry.registerServiceProvider:(Ljava/lang/Object;)V
4: aload 0
new com.sun.imageio.plugins.wbmp.WBMPImageReaderSpi
dup
invokespecial com.sun.imageio.plugins.wbmp.WBMPImageReaderSpi.<init>:()V
invokevirtual javax.imageio.spi.IIORegistry.registerServiceProvider:(Ljava/lang/Object;)V
5: aload 0
new com.sun.imageio.plugins.wbmp.WBMPImageWriterSpi
dup
invokespecial com.sun.imageio.plugins.wbmp.WBMPImageWriterSpi.<init>:()V
invokevirtual javax.imageio.spi.IIORegistry.registerServiceProvider:(Ljava/lang/Object;)V
6: aload 0
new com.sun.imageio.plugins.tiff.TIFFImageReaderSpi
dup
invokespecial com.sun.imageio.plugins.tiff.TIFFImageReaderSpi.<init>:()V
invokevirtual javax.imageio.spi.IIORegistry.registerServiceProvider:(Ljava/lang/Object;)V
7: aload 0
new com.sun.imageio.plugins.tiff.TIFFImageWriterSpi
dup
invokespecial com.sun.imageio.plugins.tiff.TIFFImageWriterSpi.<init>:()V
invokevirtual javax.imageio.spi.IIORegistry.registerServiceProvider:(Ljava/lang/Object;)V
8: aload 0
new com.sun.imageio.plugins.png.PNGImageReaderSpi
dup
invokespecial com.sun.imageio.plugins.png.PNGImageReaderSpi.<init>:()V
invokevirtual javax.imageio.spi.IIORegistry.registerServiceProvider:(Ljava/lang/Object;)V
9: aload 0
new com.sun.imageio.plugins.png.PNGImageWriterSpi
dup
invokespecial com.sun.imageio.plugins.png.PNGImageWriterSpi.<init>:()V
invokevirtual javax.imageio.spi.IIORegistry.registerServiceProvider:(Ljava/lang/Object;)V
10: aload 0
new com.sun.imageio.plugins.jpeg.JPEGImageReaderSpi
dup
invokespecial com.sun.imageio.plugins.jpeg.JPEGImageReaderSpi.<init>:()V
invokevirtual javax.imageio.spi.IIORegistry.registerServiceProvider:(Ljava/lang/Object;)V
11: aload 0
new com.sun.imageio.plugins.jpeg.JPEGImageWriterSpi
dup
invokespecial com.sun.imageio.plugins.jpeg.JPEGImageWriterSpi.<init>:()V
invokevirtual javax.imageio.spi.IIORegistry.registerServiceProvider:(Ljava/lang/Object;)V
12: aload 0
new com.sun.imageio.spi.FileImageInputStreamSpi
dup
invokespecial com.sun.imageio.spi.FileImageInputStreamSpi.<init>:()V
invokevirtual javax.imageio.spi.IIORegistry.registerServiceProvider:(Ljava/lang/Object;)V
13: aload 0
new com.sun.imageio.spi.FileImageOutputStreamSpi
dup
invokespecial com.sun.imageio.spi.FileImageOutputStreamSpi.<init>:()V
invokevirtual javax.imageio.spi.IIORegistry.registerServiceProvider:(Ljava/lang/Object;)V
14: aload 0
new com.sun.imageio.spi.InputStreamImageInputStreamSpi
dup
invokespecial com.sun.imageio.spi.InputStreamImageInputStreamSpi.<init>:()V
invokevirtual javax.imageio.spi.IIORegistry.registerServiceProvider:(Ljava/lang/Object;)V
15: aload 0
new com.sun.imageio.spi.OutputStreamImageOutputStreamSpi
dup
invokespecial com.sun.imageio.spi.OutputStreamImageOutputStreamSpi.<init>:()V
invokevirtual javax.imageio.spi.IIORegistry.registerServiceProvider:(Ljava/lang/Object;)V
16: aload 0
new com.sun.imageio.spi.RAFImageInputStreamSpi
dup
invokespecial com.sun.imageio.spi.RAFImageInputStreamSpi.<init>:()V
invokevirtual javax.imageio.spi.IIORegistry.registerServiceProvider:(Ljava/lang/Object;)V
17: aload 0
new com.sun.imageio.spi.RAFImageOutputStreamSpi
dup
invokespecial com.sun.imageio.spi.RAFImageOutputStreamSpi.<init>:()V
invokevirtual javax.imageio.spi.IIORegistry.registerServiceProvider:(Ljava/lang/Object;)V
18: aload 0
invokevirtual javax.imageio.spi.IIORegistry.registerInstalledProviders:()V
19: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljavax/imageio/spi/IIORegistry;
public void registerApplicationClasspathSpis();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 1
start local 1 1: aload 0
invokevirtual javax.imageio.spi.IIORegistry.getCategories:()Ljava/util/Iterator;
astore 2
start local 2 2: goto 16
3: StackMap locals: java.lang.ClassLoader java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 3
start local 3 4: aload 3
aload 1
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
5: astore 4
start local 4 6: goto 15
7: StackMap locals: java.lang.Class java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.imageio.spi.IIOServiceProvider
astore 5
start local 5 8: aload 0
aload 5
invokevirtual javax.imageio.spi.IIORegistry.registerServiceProvider:(Ljava/lang/Object;)V
end local 5 9: goto 15
StackMap locals:
StackMap stack: java.util.ServiceConfigurationError
10: astore 5
start local 5 11: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 14
12: aload 5
invokevirtual java.util.ServiceConfigurationError.printStackTrace:()V
13: goto 15
14: StackMap locals: java.util.ServiceConfigurationError
StackMap stack:
aload 5
athrow
end local 5 15: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
end local 4 end local 3 16: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
17: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavax/imageio/spi/IIORegistry;
1 18 1 loader Ljava/lang/ClassLoader;
2 18 2 categories Ljava/util/Iterator<Ljava/lang/Class<*>;>;
4 16 3 c Ljava/lang/Class<Ljavax/imageio/spi/IIOServiceProvider;>;
6 16 4 riter Ljava/util/Iterator<Ljavax/imageio/spi/IIOServiceProvider;>;
8 9 5 r Ljavax/imageio/spi/IIOServiceProvider;
11 15 5 err Ljava/util/ServiceConfigurationError;
Exception table:
from to target type
7 9 10 Class java.util.ServiceConfigurationError
private void registerInstalledProviders();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: new javax.imageio.spi.IIORegistry$1
dup
aload 0
invokespecial javax.imageio.spi.IIORegistry$1.<init>:(Ljavax/imageio/spi/IIORegistry;)V
1: astore 1
start local 1 2: aload 1
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/imageio/spi/IIORegistry;
2 4 1 doRegistration Ljava/security/PrivilegedAction<Ljava/lang/Object;>;
}
SourceFile: "IIORegistry.java"
NestMembers:
javax.imageio.spi.IIORegistry$1
InnerClasses:
javax.imageio.spi.IIORegistry$1