public final class javax.imageio.ImageIO
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: javax.imageio.ImageIO
super_class: java.lang.Object
{
private static final javax.imageio.spi.IIORegistry theRegistry;
descriptor: Ljavax/imageio/spi/IIORegistry;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static java.lang.reflect.Method readerFormatNamesMethod;
descriptor: Ljava/lang/reflect/Method;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.reflect.Method readerFileSuffixesMethod;
descriptor: Ljava/lang/reflect/Method;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.reflect.Method readerMIMETypesMethod;
descriptor: Ljava/lang/reflect/Method;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.reflect.Method writerFormatNamesMethod;
descriptor: Ljava/lang/reflect/Method;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.reflect.Method writerFileSuffixesMethod;
descriptor: Ljava/lang/reflect/Method;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.reflect.Method writerMIMETypesMethod;
descriptor: Ljava/lang/reflect/Method;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: invokestatic javax.imageio.spi.IIORegistry.getDefaultInstance:()Ljavax/imageio/spi/IIORegistry;
1: putstatic javax.imageio.ImageIO.theRegistry:Ljavax/imageio/spi/IIORegistry;
2: ldc Ljavax/imageio/spi/ImageReaderSpi;
ldc "getFormatNames"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
3: putstatic javax.imageio.ImageIO.readerFormatNamesMethod:Ljava/lang/reflect/Method;
4: ldc Ljavax/imageio/spi/ImageReaderSpi;
ldc "getFileSuffixes"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
5: putstatic javax.imageio.ImageIO.readerFileSuffixesMethod:Ljava/lang/reflect/Method;
6: ldc Ljavax/imageio/spi/ImageReaderSpi;
ldc "getMIMETypes"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
7: putstatic javax.imageio.ImageIO.readerMIMETypesMethod:Ljava/lang/reflect/Method;
8: ldc Ljavax/imageio/spi/ImageWriterSpi;
ldc "getFormatNames"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
9: putstatic javax.imageio.ImageIO.writerFormatNamesMethod:Ljava/lang/reflect/Method;
10: ldc Ljavax/imageio/spi/ImageWriterSpi;
ldc "getFileSuffixes"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
11: putstatic javax.imageio.ImageIO.writerFileSuffixesMethod:Ljava/lang/reflect/Method;
12: ldc Ljavax/imageio/spi/ImageWriterSpi;
ldc "getMIMETypes"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
13: putstatic javax.imageio.ImageIO.writerMIMETypesMethod:Ljava/lang/reflect/Method;
14: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
15: astore 0
start local 0 16: aload 0
invokevirtual java.lang.NoSuchMethodException.printStackTrace:()V
end local 0 17: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
16 17 0 e Ljava/lang/NoSuchMethodException;
Exception table:
from to target type
2 14 15 Class java.lang.NoSuchMethodException
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
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 Ljavax/imageio/ImageIO;
public static void scanForPlugins();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic javax.imageio.ImageIO.theRegistry:Ljavax/imageio/spi/IIORegistry;
invokevirtual javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
private static synchronized javax.imageio.ImageIO$CacheInfo getCacheInfo();
descriptor: ()Ljavax/imageio/ImageIO$CacheInfo;
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
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/ImageIO$CacheInfo;
invokevirtual sun.awt.AppContext.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.imageio.ImageIO$CacheInfo
astore 1
start local 1 2: aload 1
ifnonnull 5
3: new javax.imageio.ImageIO$CacheInfo
dup
invokespecial javax.imageio.ImageIO$CacheInfo.<init>:()V
astore 1
4: aload 0
ldc Ljavax/imageio/ImageIO$CacheInfo;
aload 1
invokevirtual sun.awt.AppContext.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: sun.awt.AppContext javax.imageio.ImageIO$CacheInfo
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 6 0 context Lsun/awt/AppContext;
2 6 1 info Ljavax/imageio/ImageIO$CacheInfo;
private static java.lang.String getTempDir();
descriptor: ()Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: new sun.security.action.GetPropertyAction
dup
ldc "java.io.tmpdir"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
astore 0
start local 0 1: aload 0
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 a Lsun/security/action/GetPropertyAction;
private static boolean hasCachePermission();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=0
0: invokestatic javax.imageio.ImageIO.getCacheInfo:()Ljavax/imageio/ImageIO$CacheInfo;
invokevirtual javax.imageio.ImageIO$CacheInfo.getHasPermission:()Ljava/lang/Boolean;
astore 0
start local 0 1: aload 0
ifnull 3
2: aload 0
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
3: StackMap locals: java.lang.Boolean
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 4: aload 1
ifnull 22
5: invokestatic javax.imageio.ImageIO.getCacheDirectory:()Ljava/io/File;
astore 2
start local 2 6: aload 2
ifnull 9
7: aload 2
invokevirtual java.io.File.getPath:()Ljava/lang/String;
astore 3
start local 3 8: goto 13
end local 3 9: StackMap locals: java.lang.SecurityManager java.io.File
StackMap stack:
invokestatic javax.imageio.ImageIO.getTempDir:()Ljava/lang/String;
astore 3
start local 3 10: aload 3
ifnull 11
aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifeq 13
11: StackMap locals: java.lang.String
StackMap stack:
invokestatic javax.imageio.ImageIO.getCacheInfo:()Ljavax/imageio/ImageIO$CacheInfo;
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual javax.imageio.ImageIO$CacheInfo.setHasPermission:(Ljava/lang/Boolean;)V
12: iconst_0
ireturn
13: StackMap locals:
StackMap stack:
aload 3
astore 4
start local 4 14: aload 4
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 16
15: new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
16: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "*"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
17: aload 1
new java.io.FilePermission
dup
aload 4
ldc "read, write, delete"
invokespecial java.io.FilePermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
end local 4 end local 3 end local 2 end local 1 18: goto 22
StackMap locals: java.lang.Boolean
StackMap stack: java.lang.SecurityException
19: pop
20: invokestatic javax.imageio.ImageIO.getCacheInfo:()Ljavax/imageio/ImageIO$CacheInfo;
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual javax.imageio.ImageIO$CacheInfo.setHasPermission:(Ljava/lang/Boolean;)V
21: iconst_0
ireturn
22: StackMap locals:
StackMap stack:
invokestatic javax.imageio.ImageIO.getCacheInfo:()Ljavax/imageio/ImageIO$CacheInfo;
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual javax.imageio.ImageIO$CacheInfo.setHasPermission:(Ljava/lang/Boolean;)V
23: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 24 0 hasPermission Ljava/lang/Boolean;
4 18 1 security Ljava/lang/SecurityManager;
6 18 2 cachedir Ljava/io/File;
8 9 3 cachepath Ljava/lang/String;
10 18 3 cachepath Ljava/lang/String;
14 18 4 filepath Ljava/lang/String;
Exception table:
from to target type
3 12 19 Class java.lang.SecurityException
13 18 19 Class java.lang.SecurityException
public static void setUseCache(boolean);
descriptor: (Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic javax.imageio.ImageIO.getCacheInfo:()Ljavax/imageio/ImageIO$CacheInfo;
iload 0
invokevirtual javax.imageio.ImageIO$CacheInfo.setUseCache:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 useCache Z
MethodParameters:
Name Flags
useCache
public static boolean getUseCache();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic javax.imageio.ImageIO.getCacheInfo:()Ljavax/imageio/ImageIO$CacheInfo;
invokevirtual javax.imageio.ImageIO$CacheInfo.getUseCache:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static void setCacheDirectory(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnull 2
aload 0
invokevirtual java.io.File.isDirectory:()Z
ifne 2
1: new java.lang.IllegalArgumentException
dup
ldc "Not a directory!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
invokestatic javax.imageio.ImageIO.getCacheInfo:()Ljavax/imageio/ImageIO$CacheInfo;
aload 0
invokevirtual javax.imageio.ImageIO$CacheInfo.setCacheDirectory:(Ljava/io/File;)V
3: invokestatic javax.imageio.ImageIO.getCacheInfo:()Ljavax/imageio/ImageIO$CacheInfo;
aconst_null
invokevirtual javax.imageio.ImageIO$CacheInfo.setHasPermission:(Ljava/lang/Boolean;)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 cacheDirectory Ljava/io/File;
MethodParameters:
Name Flags
cacheDirectory
public static java.io.File getCacheDirectory();
descriptor: ()Ljava/io/File;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic javax.imageio.ImageIO.getCacheInfo:()Ljavax/imageio/ImageIO$CacheInfo;
invokevirtual javax.imageio.ImageIO$CacheInfo.getCacheDirectory:()Ljava/io/File;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static javax.imageio.stream.ImageInputStream createImageInputStream(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljavax/imageio/stream/ImageInputStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "input == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic javax.imageio.ImageIO.theRegistry:Ljavax/imageio/spi/IIORegistry;
ldc Ljavax/imageio/spi/ImageInputStreamSpi;
3: iconst_1
4: invokevirtual javax.imageio.spi.IIORegistry.getServiceProviders:(Ljava/lang/Class;Z)Ljava/util/Iterator;
astore 1
start local 1 5: goto 8
end local 1 StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
6: pop
7: aconst_null
areturn
start local 1 8: StackMap locals: java.util.Iterator
StackMap stack:
invokestatic javax.imageio.ImageIO.getUseCache:()Z
ifeq 9
invokestatic javax.imageio.ImageIO.hasCachePermission:()Z
ifeq 9
iconst_1
goto 10
StackMap locals:
StackMap stack:
9: iconst_0
StackMap locals:
StackMap stack: int
10: istore 2
start local 2 11: goto 21
12: StackMap locals: int
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.imageio.spi.ImageInputStreamSpi
astore 3
start local 3 13: aload 3
invokevirtual javax.imageio.spi.ImageInputStreamSpi.getInputClass:()Ljava/lang/Class;
aload 0
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 21
14: aload 3
aload 0
15: iload 2
16: invokestatic javax.imageio.ImageIO.getCacheDirectory:()Ljava/io/File;
17: invokevirtual javax.imageio.spi.ImageInputStreamSpi.createInputStreamInstance:(Ljava/lang/Object;ZLjava/io/File;)Ljavax/imageio/stream/ImageInputStream;
18: areturn
19: StackMap locals: java.lang.Object java.util.Iterator int javax.imageio.spi.ImageInputStreamSpi
StackMap stack: java.io.IOException
astore 4
start local 4 20: new javax.imageio.IIOException
dup
ldc "Can't create cache file!"
aload 4
invokespecial javax.imageio.IIOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 21: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
22: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 input Ljava/lang/Object;
5 6 1 iter Ljava/util/Iterator<Ljavax/imageio/spi/ImageInputStreamSpi;>;
8 23 1 iter Ljava/util/Iterator<Ljavax/imageio/spi/ImageInputStreamSpi;>;
11 23 2 usecache Z
13 21 3 spi Ljavax/imageio/spi/ImageInputStreamSpi;
20 21 4 e Ljava/io/IOException;
Exception table:
from to target type
2 5 6 Class java.lang.IllegalArgumentException
14 18 19 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input
public static javax.imageio.stream.ImageOutputStream createImageOutputStream(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljavax/imageio/stream/ImageOutputStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "output == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic javax.imageio.ImageIO.theRegistry:Ljavax/imageio/spi/IIORegistry;
ldc Ljavax/imageio/spi/ImageOutputStreamSpi;
3: iconst_1
4: invokevirtual javax.imageio.spi.IIORegistry.getServiceProviders:(Ljava/lang/Class;Z)Ljava/util/Iterator;
astore 1
start local 1 5: goto 8
end local 1 StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
6: pop
7: aconst_null
areturn
start local 1 8: StackMap locals: java.util.Iterator
StackMap stack:
invokestatic javax.imageio.ImageIO.getUseCache:()Z
ifeq 9
invokestatic javax.imageio.ImageIO.hasCachePermission:()Z
ifeq 9
iconst_1
goto 10
StackMap locals:
StackMap stack:
9: iconst_0
StackMap locals:
StackMap stack: int
10: istore 2
start local 2 11: goto 21
12: StackMap locals: int
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.imageio.spi.ImageOutputStreamSpi
astore 3
start local 3 13: aload 3
invokevirtual javax.imageio.spi.ImageOutputStreamSpi.getOutputClass:()Ljava/lang/Class;
aload 0
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 21
14: aload 3
aload 0
15: iload 2
16: invokestatic javax.imageio.ImageIO.getCacheDirectory:()Ljava/io/File;
17: invokevirtual javax.imageio.spi.ImageOutputStreamSpi.createOutputStreamInstance:(Ljava/lang/Object;ZLjava/io/File;)Ljavax/imageio/stream/ImageOutputStream;
18: areturn
19: StackMap locals: java.lang.Object java.util.Iterator int javax.imageio.spi.ImageOutputStreamSpi
StackMap stack: java.io.IOException
astore 4
start local 4 20: new javax.imageio.IIOException
dup
ldc "Can't create cache file!"
aload 4
invokespecial javax.imageio.IIOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 21: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
22: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 output Ljava/lang/Object;
5 6 1 iter Ljava/util/Iterator<Ljavax/imageio/spi/ImageOutputStreamSpi;>;
8 23 1 iter Ljava/util/Iterator<Ljavax/imageio/spi/ImageOutputStreamSpi;>;
11 23 2 usecache Z
13 21 3 spi Ljavax/imageio/spi/ImageOutputStreamSpi;
20 21 4 e Ljava/io/IOException;
Exception table:
from to target type
2 5 6 Class java.lang.IllegalArgumentException
14 18 19 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
output
private static <S extends javax.imageio.spi.ImageReaderWriterSpi> java.lang.String[] getReaderWriterInfo(java.lang.Class<S>, javax.imageio.ImageIO$SpiInfo);
descriptor: (Ljava/lang/Class;Ljavax/imageio/ImageIO$SpiInfo;)[Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: getstatic javax.imageio.ImageIO.theRegistry:Ljavax/imageio/spi/IIORegistry;
aload 0
iconst_1
invokevirtual javax.imageio.spi.IIORegistry.getServiceProviders:(Ljava/lang/Class;Z)Ljava/util/Iterator;
astore 2
start local 2 1: goto 4
end local 2 StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
2: pop
3: iconst_0
anewarray java.lang.String
areturn
start local 2 4: StackMap locals: java.util.Iterator
StackMap stack:
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 3
start local 3 5: goto 10
6: StackMap locals: java.util.HashSet
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.imageio.spi.ImageReaderWriterSpi
astore 4
start local 4 7: aload 1
aload 4
invokevirtual javax.imageio.ImageIO$SpiInfo.info:(Ljavax/imageio/spi/ImageReaderWriterSpi;)[Ljava/lang/String;
astore 5
start local 5 8: aload 5
ifnull 10
9: aload 3
aload 5
invokestatic java.util.Collections.addAll:(Ljava/util/Collection;[Ljava/lang/Object;)Z
pop
end local 5 end local 4 10: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
11: aload 3
aload 3
invokevirtual java.util.HashSet.size:()I
anewarray java.lang.String
invokevirtual java.util.HashSet.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 spiClass Ljava/lang/Class<TS;>;
0 12 1 spiInfo Ljavax/imageio/ImageIO$SpiInfo;
1 2 2 iter Ljava/util/Iterator<TS;>;
4 12 2 iter Ljava/util/Iterator<TS;>;
5 12 3 s Ljava/util/HashSet<Ljava/lang/String;>;
7 10 4 spi Ljavax/imageio/spi/ImageReaderWriterSpi;
8 10 5 info [Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalArgumentException
Signature: <S:Ljavax/imageio/spi/ImageReaderWriterSpi;>(Ljava/lang/Class<TS;>;Ljavax/imageio/ImageIO$SpiInfo;)[Ljava/lang/String;
MethodParameters:
Name Flags
spiClass
spiInfo
public static java.lang.String[] getReaderFormatNames();
descriptor: ()[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Ljavax/imageio/spi/ImageReaderSpi;
1: getstatic javax.imageio.ImageIO$SpiInfo.FORMAT_NAMES:Ljavax/imageio/ImageIO$SpiInfo;
2: invokestatic javax.imageio.ImageIO.getReaderWriterInfo:(Ljava/lang/Class;Ljavax/imageio/ImageIO$SpiInfo;)[Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String[] getReaderMIMETypes();
descriptor: ()[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Ljavax/imageio/spi/ImageReaderSpi;
1: getstatic javax.imageio.ImageIO$SpiInfo.MIME_TYPES:Ljavax/imageio/ImageIO$SpiInfo;
2: invokestatic javax.imageio.ImageIO.getReaderWriterInfo:(Ljava/lang/Class;Ljavax/imageio/ImageIO$SpiInfo;)[Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String[] getReaderFileSuffixes();
descriptor: ()[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Ljavax/imageio/spi/ImageReaderSpi;
1: getstatic javax.imageio.ImageIO$SpiInfo.FILE_SUFFIXES:Ljavax/imageio/ImageIO$SpiInfo;
2: invokestatic javax.imageio.ImageIO.getReaderWriterInfo:(Ljava/lang/Class;Ljavax/imageio/ImageIO$SpiInfo;)[Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.util.Iterator<javax.imageio.ImageReader> getImageReaders();
descriptor: (Ljava/lang/Object;)Ljava/util/Iterator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "input == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic javax.imageio.ImageIO.theRegistry:Ljavax/imageio/spi/IIORegistry;
ldc Ljavax/imageio/spi/ImageReaderSpi;
3: new javax.imageio.ImageIO$CanDecodeInputFilter
dup
aload 0
invokespecial javax.imageio.ImageIO$CanDecodeInputFilter.<init>:(Ljava/lang/Object;)V
4: iconst_1
5: invokevirtual javax.imageio.spi.IIORegistry.getServiceProviders:(Ljava/lang/Class;Ljavax/imageio/spi/ServiceRegistry$Filter;Z)Ljava/util/Iterator;
astore 1
start local 1 6: goto 9
end local 1 StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
7: pop
8: invokestatic java.util.Collections.emptyIterator:()Ljava/util/Iterator;
areturn
start local 1 9: StackMap locals: java.util.Iterator
StackMap stack:
new javax.imageio.ImageIO$ImageReaderIterator
dup
aload 1
invokespecial javax.imageio.ImageIO$ImageReaderIterator.<init>:(Ljava/util/Iterator;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 input Ljava/lang/Object;
6 7 1 iter Ljava/util/Iterator<Ljavax/imageio/spi/ImageReaderSpi;>;
9 10 1 iter Ljava/util/Iterator<Ljavax/imageio/spi/ImageReaderSpi;>;
Exception table:
from to target type
2 6 7 Class java.lang.IllegalArgumentException
Signature: (Ljava/lang/Object;)Ljava/util/Iterator<Ljavax/imageio/ImageReader;>;
MethodParameters:
Name Flags
input
public static java.util.Iterator<javax.imageio.ImageReader> getImageReadersByFormatName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Iterator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "formatName == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic javax.imageio.ImageIO.theRegistry:Ljavax/imageio/spi/IIORegistry;
ldc Ljavax/imageio/spi/ImageReaderSpi;
3: new javax.imageio.ImageIO$ContainsFilter
dup
getstatic javax.imageio.ImageIO.readerFormatNamesMethod:Ljava/lang/reflect/Method;
4: aload 0
5: invokespecial javax.imageio.ImageIO$ContainsFilter.<init>:(Ljava/lang/reflect/Method;Ljava/lang/String;)V
6: iconst_1
7: invokevirtual javax.imageio.spi.IIORegistry.getServiceProviders:(Ljava/lang/Class;Ljavax/imageio/spi/ServiceRegistry$Filter;Z)Ljava/util/Iterator;
astore 1
start local 1 8: goto 11
end local 1 StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
9: pop
10: invokestatic java.util.Collections.emptyIterator:()Ljava/util/Iterator;
areturn
start local 1 11: StackMap locals: java.util.Iterator
StackMap stack:
new javax.imageio.ImageIO$ImageReaderIterator
dup
aload 1
invokespecial javax.imageio.ImageIO$ImageReaderIterator.<init>:(Ljava/util/Iterator;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 formatName Ljava/lang/String;
8 9 1 iter Ljava/util/Iterator<Ljavax/imageio/spi/ImageReaderSpi;>;
11 12 1 iter Ljava/util/Iterator<Ljavax/imageio/spi/ImageReaderSpi;>;
Exception table:
from to target type
2 8 9 Class java.lang.IllegalArgumentException
Signature: (Ljava/lang/String;)Ljava/util/Iterator<Ljavax/imageio/ImageReader;>;
MethodParameters:
Name Flags
formatName
public static java.util.Iterator<javax.imageio.ImageReader> getImageReadersBySuffix(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Iterator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "fileSuffix == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic javax.imageio.ImageIO.theRegistry:Ljavax/imageio/spi/IIORegistry;
ldc Ljavax/imageio/spi/ImageReaderSpi;
3: new javax.imageio.ImageIO$ContainsFilter
dup
getstatic javax.imageio.ImageIO.readerFileSuffixesMethod:Ljava/lang/reflect/Method;
4: aload 0
5: invokespecial javax.imageio.ImageIO$ContainsFilter.<init>:(Ljava/lang/reflect/Method;Ljava/lang/String;)V
6: iconst_1
7: invokevirtual javax.imageio.spi.IIORegistry.getServiceProviders:(Ljava/lang/Class;Ljavax/imageio/spi/ServiceRegistry$Filter;Z)Ljava/util/Iterator;
astore 1
start local 1 8: goto 11
end local 1 StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
9: pop
10: invokestatic java.util.Collections.emptyIterator:()Ljava/util/Iterator;
areturn
start local 1 11: StackMap locals: java.util.Iterator
StackMap stack:
new javax.imageio.ImageIO$ImageReaderIterator
dup
aload 1
invokespecial javax.imageio.ImageIO$ImageReaderIterator.<init>:(Ljava/util/Iterator;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 fileSuffix Ljava/lang/String;
8 9 1 iter Ljava/util/Iterator<Ljavax/imageio/spi/ImageReaderSpi;>;
11 12 1 iter Ljava/util/Iterator<Ljavax/imageio/spi/ImageReaderSpi;>;
Exception table:
from to target type
2 8 9 Class java.lang.IllegalArgumentException
Signature: (Ljava/lang/String;)Ljava/util/Iterator<Ljavax/imageio/ImageReader;>;
MethodParameters:
Name Flags
fileSuffix
public static java.util.Iterator<javax.imageio.ImageReader> getImageReadersByMIMEType(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Iterator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "MIMEType == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic javax.imageio.ImageIO.theRegistry:Ljavax/imageio/spi/IIORegistry;
ldc Ljavax/imageio/spi/ImageReaderSpi;
3: new javax.imageio.ImageIO$ContainsFilter
dup
getstatic javax.imageio.ImageIO.readerMIMETypesMethod:Ljava/lang/reflect/Method;
4: aload 0
5: invokespecial javax.imageio.ImageIO$ContainsFilter.<init>:(Ljava/lang/reflect/Method;Ljava/lang/String;)V
6: iconst_1
7: invokevirtual javax.imageio.spi.IIORegistry.getServiceProviders:(Ljava/lang/Class;Ljavax/imageio/spi/ServiceRegistry$Filter;Z)Ljava/util/Iterator;
astore 1
start local 1 8: goto 11
end local 1 StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
9: pop
10: invokestatic java.util.Collections.emptyIterator:()Ljava/util/Iterator;
areturn
start local 1 11: StackMap locals: java.util.Iterator
StackMap stack:
new javax.imageio.ImageIO$ImageReaderIterator
dup
aload 1
invokespecial javax.imageio.ImageIO$ImageReaderIterator.<init>:(Ljava/util/Iterator;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 MIMEType Ljava/lang/String;
8 9 1 iter Ljava/util/Iterator<Ljavax/imageio/spi/ImageReaderSpi;>;
11 12 1 iter Ljava/util/Iterator<Ljavax/imageio/spi/ImageReaderSpi;>;
Exception table:
from to target type
2 8 9 Class java.lang.IllegalArgumentException
Signature: (Ljava/lang/String;)Ljava/util/Iterator<Ljavax/imageio/ImageReader;>;
MethodParameters:
Name Flags
MIMEType
public static java.lang.String[] getWriterFormatNames();
descriptor: ()[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Ljavax/imageio/spi/ImageWriterSpi;
1: getstatic javax.imageio.ImageIO$SpiInfo.FORMAT_NAMES:Ljavax/imageio/ImageIO$SpiInfo;
2: invokestatic javax.imageio.ImageIO.getReaderWriterInfo:(Ljava/lang/Class;Ljavax/imageio/ImageIO$SpiInfo;)[Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String[] getWriterMIMETypes();
descriptor: ()[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Ljavax/imageio/spi/ImageWriterSpi;
1: getstatic javax.imageio.ImageIO$SpiInfo.MIME_TYPES:Ljavax/imageio/ImageIO$SpiInfo;
2: invokestatic javax.imageio.ImageIO.getReaderWriterInfo:(Ljava/lang/Class;Ljavax/imageio/ImageIO$SpiInfo;)[Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String[] getWriterFileSuffixes();
descriptor: ()[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Ljavax/imageio/spi/ImageWriterSpi;
1: getstatic javax.imageio.ImageIO$SpiInfo.FILE_SUFFIXES:Ljavax/imageio/ImageIO$SpiInfo;
2: invokestatic javax.imageio.ImageIO.getReaderWriterInfo:(Ljava/lang/Class;Ljavax/imageio/ImageIO$SpiInfo;)[Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static boolean contains(java.lang.String[], java.lang.String);
descriptor: ([Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 1
aload 0
iload 2
aaload
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
arraylength
if_icmplt 2
end local 2 6: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 names [Ljava/lang/String;
0 7 1 name Ljava/lang/String;
1 6 2 i I
MethodParameters:
Name Flags
names
name
public static java.util.Iterator<javax.imageio.ImageWriter> getImageWritersByFormatName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Iterator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "formatName == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic javax.imageio.ImageIO.theRegistry:Ljavax/imageio/spi/IIORegistry;
ldc Ljavax/imageio/spi/ImageWriterSpi;
3: new javax.imageio.ImageIO$ContainsFilter
dup
getstatic javax.imageio.ImageIO.writerFormatNamesMethod:Ljava/lang/reflect/Method;
4: aload 0
5: invokespecial javax.imageio.ImageIO$ContainsFilter.<init>:(Ljava/lang/reflect/Method;Ljava/lang/String;)V
6: iconst_1
7: invokevirtual javax.imageio.spi.IIORegistry.getServiceProviders:(Ljava/lang/Class;Ljavax/imageio/spi/ServiceRegistry$Filter;Z)Ljava/util/Iterator;
astore 1
start local 1 8: goto 11
end local 1 StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
9: pop
10: invokestatic java.util.Collections.emptyIterator:()Ljava/util/Iterator;
areturn
start local 1 11: StackMap locals: java.util.Iterator
StackMap stack:
new javax.imageio.ImageIO$ImageWriterIterator
dup
aload 1
invokespecial javax.imageio.ImageIO$ImageWriterIterator.<init>:(Ljava/util/Iterator;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 formatName Ljava/lang/String;
8 9 1 iter Ljava/util/Iterator<Ljavax/imageio/spi/ImageWriterSpi;>;
11 12 1 iter Ljava/util/Iterator<Ljavax/imageio/spi/ImageWriterSpi;>;
Exception table:
from to target type
2 8 9 Class java.lang.IllegalArgumentException
Signature: (Ljava/lang/String;)Ljava/util/Iterator<Ljavax/imageio/ImageWriter;>;
MethodParameters:
Name Flags
formatName
public static java.util.Iterator<javax.imageio.ImageWriter> getImageWritersBySuffix(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Iterator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "fileSuffix == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic javax.imageio.ImageIO.theRegistry:Ljavax/imageio/spi/IIORegistry;
ldc Ljavax/imageio/spi/ImageWriterSpi;
3: new javax.imageio.ImageIO$ContainsFilter
dup
getstatic javax.imageio.ImageIO.writerFileSuffixesMethod:Ljava/lang/reflect/Method;
4: aload 0
5: invokespecial javax.imageio.ImageIO$ContainsFilter.<init>:(Ljava/lang/reflect/Method;Ljava/lang/String;)V
6: iconst_1
7: invokevirtual javax.imageio.spi.IIORegistry.getServiceProviders:(Ljava/lang/Class;Ljavax/imageio/spi/ServiceRegistry$Filter;Z)Ljava/util/Iterator;
astore 1
start local 1 8: goto 11
end local 1 StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
9: pop
10: invokestatic java.util.Collections.emptyIterator:()Ljava/util/Iterator;
areturn
start local 1 11: StackMap locals: java.util.Iterator
StackMap stack:
new javax.imageio.ImageIO$ImageWriterIterator
dup
aload 1
invokespecial javax.imageio.ImageIO$ImageWriterIterator.<init>:(Ljava/util/Iterator;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 fileSuffix Ljava/lang/String;
8 9 1 iter Ljava/util/Iterator<Ljavax/imageio/spi/ImageWriterSpi;>;
11 12 1 iter Ljava/util/Iterator<Ljavax/imageio/spi/ImageWriterSpi;>;
Exception table:
from to target type
2 8 9 Class java.lang.IllegalArgumentException
Signature: (Ljava/lang/String;)Ljava/util/Iterator<Ljavax/imageio/ImageWriter;>;
MethodParameters:
Name Flags
fileSuffix
public static java.util.Iterator<javax.imageio.ImageWriter> getImageWritersByMIMEType(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Iterator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "MIMEType == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic javax.imageio.ImageIO.theRegistry:Ljavax/imageio/spi/IIORegistry;
ldc Ljavax/imageio/spi/ImageWriterSpi;
3: new javax.imageio.ImageIO$ContainsFilter
dup
getstatic javax.imageio.ImageIO.writerMIMETypesMethod:Ljava/lang/reflect/Method;
4: aload 0
5: invokespecial javax.imageio.ImageIO$ContainsFilter.<init>:(Ljava/lang/reflect/Method;Ljava/lang/String;)V
6: iconst_1
7: invokevirtual javax.imageio.spi.IIORegistry.getServiceProviders:(Ljava/lang/Class;Ljavax/imageio/spi/ServiceRegistry$Filter;Z)Ljava/util/Iterator;
astore 1
start local 1 8: goto 11
end local 1 StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
9: pop
10: invokestatic java.util.Collections.emptyIterator:()Ljava/util/Iterator;
areturn
start local 1 11: StackMap locals: java.util.Iterator
StackMap stack:
new javax.imageio.ImageIO$ImageWriterIterator
dup
aload 1
invokespecial javax.imageio.ImageIO$ImageWriterIterator.<init>:(Ljava/util/Iterator;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 MIMEType Ljava/lang/String;
8 9 1 iter Ljava/util/Iterator<Ljavax/imageio/spi/ImageWriterSpi;>;
11 12 1 iter Ljava/util/Iterator<Ljavax/imageio/spi/ImageWriterSpi;>;
Exception table:
from to target type
2 8 9 Class java.lang.IllegalArgumentException
Signature: (Ljava/lang/String;)Ljava/util/Iterator<Ljavax/imageio/ImageWriter;>;
MethodParameters:
Name Flags
MIMEType
public static javax.imageio.ImageWriter getImageWriter(javax.imageio.ImageReader);
descriptor: (Ljavax/imageio/ImageReader;)Ljavax/imageio/ImageWriter;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "reader == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.imageio.ImageReader.getOriginatingProvider:()Ljavax/imageio/spi/ImageReaderSpi;
astore 1
start local 1 3: aload 1
ifnonnull 18
4: getstatic javax.imageio.ImageIO.theRegistry:Ljavax/imageio/spi/IIORegistry;
ldc Ljavax/imageio/spi/ImageReaderSpi;
5: iconst_0
6: invokevirtual javax.imageio.spi.IIORegistry.getServiceProviders:(Ljava/lang/Class;Z)Ljava/util/Iterator;
7: astore 2
start local 2 8: goto 15
end local 2 StackMap locals: javax.imageio.ImageReader javax.imageio.spi.ImageReaderSpi
StackMap stack: java.lang.IllegalArgumentException
9: pop
10: aconst_null
areturn
start local 2 11: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.imageio.spi.ImageReaderSpi
astore 3
start local 3 12: aload 3
aload 0
invokevirtual javax.imageio.spi.ImageReaderSpi.isOwnReader:(Ljavax/imageio/ImageReader;)Z
ifeq 15
13: aload 3
astore 1
14: goto 16
end local 3 15: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
16: StackMap locals:
StackMap stack:
aload 1
ifnonnull 18
17: aconst_null
areturn
end local 2 18: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.imageio.spi.ImageReaderSpi.getImageWriterSpiNames:()[Ljava/lang/String;
astore 2
start local 2 19: aload 2
ifnonnull 21
20: aconst_null
areturn
21: StackMap locals: java.lang.String[]
StackMap stack:
aconst_null
astore 3
start local 3 22: aload 2
iconst_0
aaload
iconst_1
23: invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
24: invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 3
25: goto 28
StackMap locals: javax.imageio.ImageReader javax.imageio.spi.ImageReaderSpi java.lang.String[] java.lang.Class
StackMap stack: java.lang.ClassNotFoundException
26: pop
27: aconst_null
areturn
28: StackMap locals:
StackMap stack:
getstatic javax.imageio.ImageIO.theRegistry:Ljavax/imageio/spi/IIORegistry;
aload 3
invokevirtual javax.imageio.spi.IIORegistry.getServiceProviderByClass:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast javax.imageio.spi.ImageWriterSpi
29: astore 4
start local 4 30: aload 4
ifnonnull 32
31: aconst_null
areturn
32: StackMap locals: javax.imageio.spi.ImageWriterSpi
StackMap stack:
aload 4
invokevirtual javax.imageio.spi.ImageWriterSpi.createWriterInstance:()Ljavax/imageio/ImageWriter;
33: areturn
34: StackMap locals:
StackMap stack: java.io.IOException
pop
35: getstatic javax.imageio.ImageIO.theRegistry:Ljavax/imageio/spi/IIORegistry;
aload 4
36: ldc Ljavax/imageio/spi/ImageWriterSpi;
37: invokevirtual javax.imageio.spi.IIORegistry.deregisterServiceProvider:(Ljava/lang/Object;Ljava/lang/Class;)Z
pop
38: aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 reader Ljavax/imageio/ImageReader;
3 39 1 readerSpi Ljavax/imageio/spi/ImageReaderSpi;
8 9 2 readerSpiIter Ljava/util/Iterator<Ljavax/imageio/spi/ImageReaderSpi;>;
11 18 2 readerSpiIter Ljava/util/Iterator<Ljavax/imageio/spi/ImageReaderSpi;>;
12 15 3 temp Ljavax/imageio/spi/ImageReaderSpi;
19 39 2 writerNames [Ljava/lang/String;
22 39 3 writerSpiClass Ljava/lang/Class<*>;
30 39 4 writerSpi Ljavax/imageio/spi/ImageWriterSpi;
Exception table:
from to target type
4 8 9 Class java.lang.IllegalArgumentException
22 25 26 Class java.lang.ClassNotFoundException
32 33 34 Class java.io.IOException
MethodParameters:
Name Flags
reader
public static javax.imageio.ImageReader getImageReader(javax.imageio.ImageWriter);
descriptor: (Ljavax/imageio/ImageWriter;)Ljavax/imageio/ImageReader;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "writer == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.imageio.ImageWriter.getOriginatingProvider:()Ljavax/imageio/spi/ImageWriterSpi;
astore 1
start local 1 3: aload 1
ifnonnull 18
4: getstatic javax.imageio.ImageIO.theRegistry:Ljavax/imageio/spi/IIORegistry;
ldc Ljavax/imageio/spi/ImageWriterSpi;
5: iconst_0
6: invokevirtual javax.imageio.spi.IIORegistry.getServiceProviders:(Ljava/lang/Class;Z)Ljava/util/Iterator;
7: astore 2
start local 2 8: goto 15
end local 2 StackMap locals: javax.imageio.ImageWriter javax.imageio.spi.ImageWriterSpi
StackMap stack: java.lang.IllegalArgumentException
9: pop
10: aconst_null
areturn
start local 2 11: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.imageio.spi.ImageWriterSpi
astore 3
start local 3 12: aload 3
aload 0
invokevirtual javax.imageio.spi.ImageWriterSpi.isOwnWriter:(Ljavax/imageio/ImageWriter;)Z
ifeq 15
13: aload 3
astore 1
14: goto 16
end local 3 15: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
16: StackMap locals:
StackMap stack:
aload 1
ifnonnull 18
17: aconst_null
areturn
end local 2 18: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.imageio.spi.ImageWriterSpi.getImageReaderSpiNames:()[Ljava/lang/String;
astore 2
start local 2 19: aload 2
ifnonnull 21
20: aconst_null
areturn
21: StackMap locals: java.lang.String[]
StackMap stack:
aconst_null
astore 3
start local 3 22: aload 2
iconst_0
aaload
iconst_1
23: invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
24: invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 3
25: goto 28
StackMap locals: javax.imageio.ImageWriter javax.imageio.spi.ImageWriterSpi java.lang.String[] java.lang.Class
StackMap stack: java.lang.ClassNotFoundException
26: pop
27: aconst_null
areturn
28: StackMap locals:
StackMap stack:
getstatic javax.imageio.ImageIO.theRegistry:Ljavax/imageio/spi/IIORegistry;
aload 3
invokevirtual javax.imageio.spi.IIORegistry.getServiceProviderByClass:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast javax.imageio.spi.ImageReaderSpi
29: astore 4
start local 4 30: aload 4
ifnonnull 32
31: aconst_null
areturn
32: StackMap locals: javax.imageio.spi.ImageReaderSpi
StackMap stack:
aload 4
invokevirtual javax.imageio.spi.ImageReaderSpi.createReaderInstance:()Ljavax/imageio/ImageReader;
33: areturn
34: StackMap locals:
StackMap stack: java.io.IOException
pop
35: getstatic javax.imageio.ImageIO.theRegistry:Ljavax/imageio/spi/IIORegistry;
aload 4
36: ldc Ljavax/imageio/spi/ImageReaderSpi;
37: invokevirtual javax.imageio.spi.IIORegistry.deregisterServiceProvider:(Ljava/lang/Object;Ljava/lang/Class;)Z
pop
38: aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 writer Ljavax/imageio/ImageWriter;
3 39 1 writerSpi Ljavax/imageio/spi/ImageWriterSpi;
8 9 2 writerSpiIter Ljava/util/Iterator<Ljavax/imageio/spi/ImageWriterSpi;>;
11 18 2 writerSpiIter Ljava/util/Iterator<Ljavax/imageio/spi/ImageWriterSpi;>;
12 15 3 temp Ljavax/imageio/spi/ImageWriterSpi;
19 39 2 readerNames [Ljava/lang/String;
22 39 3 readerSpiClass Ljava/lang/Class<*>;
30 39 4 readerSpi Ljavax/imageio/spi/ImageReaderSpi;
Exception table:
from to target type
4 8 9 Class java.lang.IllegalArgumentException
22 25 26 Class java.lang.ClassNotFoundException
32 33 34 Class java.io.IOException
MethodParameters:
Name Flags
writer
public static java.util.Iterator<javax.imageio.ImageWriter> getImageWriters(javax.imageio.ImageTypeSpecifier, java.lang.String);
descriptor: (Ljavax/imageio/ImageTypeSpecifier;Ljava/lang/String;)Ljava/util/Iterator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "type == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "formatName == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
getstatic javax.imageio.ImageIO.theRegistry:Ljavax/imageio/spi/IIORegistry;
ldc Ljavax/imageio/spi/ImageWriterSpi;
5: new javax.imageio.ImageIO$CanEncodeImageAndFormatFilter
dup
aload 0
6: aload 1
7: invokespecial javax.imageio.ImageIO$CanEncodeImageAndFormatFilter.<init>:(Ljavax/imageio/ImageTypeSpecifier;Ljava/lang/String;)V
8: iconst_1
9: invokevirtual javax.imageio.spi.IIORegistry.getServiceProviders:(Ljava/lang/Class;Ljavax/imageio/spi/ServiceRegistry$Filter;Z)Ljava/util/Iterator;
astore 2
start local 2 10: goto 13
end local 2 StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
11: pop
12: invokestatic java.util.Collections.emptyIterator:()Ljava/util/Iterator;
areturn
start local 2 13: StackMap locals: java.util.Iterator
StackMap stack:
new javax.imageio.ImageIO$ImageWriterIterator
dup
aload 2
invokespecial javax.imageio.ImageIO$ImageWriterIterator.<init>:(Ljava/util/Iterator;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 type Ljavax/imageio/ImageTypeSpecifier;
0 14 1 formatName Ljava/lang/String;
10 11 2 iter Ljava/util/Iterator<Ljavax/imageio/spi/ImageWriterSpi;>;
13 14 2 iter Ljava/util/Iterator<Ljavax/imageio/spi/ImageWriterSpi;>;
Exception table:
from to target type
4 10 11 Class java.lang.IllegalArgumentException
Signature: (Ljavax/imageio/ImageTypeSpecifier;Ljava/lang/String;)Ljava/util/Iterator<Ljavax/imageio/ImageWriter;>;
MethodParameters:
Name Flags
type
formatName
public static java.util.Iterator<javax.imageio.ImageTranscoder> getImageTranscoders(javax.imageio.ImageReader, javax.imageio.ImageWriter);
descriptor: (Ljavax/imageio/ImageReader;Ljavax/imageio/ImageWriter;)Ljava/util/Iterator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "reader == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "writer == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.imageio.ImageReader.getOriginatingProvider:()Ljavax/imageio/spi/ImageReaderSpi;
astore 2
start local 2 5: aload 1
invokevirtual javax.imageio.ImageWriter.getOriginatingProvider:()Ljavax/imageio/spi/ImageWriterSpi;
astore 3
start local 3 6: new javax.imageio.ImageIO$TranscoderFilter
dup
aload 2
aload 3
invokespecial javax.imageio.ImageIO$TranscoderFilter.<init>:(Ljavax/imageio/spi/ImageReaderSpi;Ljavax/imageio/spi/ImageWriterSpi;)V
7: astore 4
start local 4 8: getstatic javax.imageio.ImageIO.theRegistry:Ljavax/imageio/spi/IIORegistry;
ldc Ljavax/imageio/spi/ImageTranscoderSpi;
9: aload 4
iconst_1
10: invokevirtual javax.imageio.spi.IIORegistry.getServiceProviders:(Ljava/lang/Class;Ljavax/imageio/spi/ServiceRegistry$Filter;Z)Ljava/util/Iterator;
astore 5
start local 5 11: goto 14
end local 5 StackMap locals: javax.imageio.ImageReader javax.imageio.ImageWriter javax.imageio.spi.ImageReaderSpi javax.imageio.spi.ImageWriterSpi javax.imageio.spi.ServiceRegistry$Filter
StackMap stack: java.lang.IllegalArgumentException
12: pop
13: invokestatic java.util.Collections.emptyIterator:()Ljava/util/Iterator;
areturn
start local 5 14: StackMap locals: java.util.Iterator
StackMap stack:
new javax.imageio.ImageIO$ImageTranscoderIterator
dup
aload 5
invokespecial javax.imageio.ImageIO$ImageTranscoderIterator.<init>:(Ljava/util/Iterator;)V
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 reader Ljavax/imageio/ImageReader;
0 15 1 writer Ljavax/imageio/ImageWriter;
5 15 2 readerSpi Ljavax/imageio/spi/ImageReaderSpi;
6 15 3 writerSpi Ljavax/imageio/spi/ImageWriterSpi;
8 15 4 filter Ljavax/imageio/spi/ServiceRegistry$Filter;
11 12 5 iter Ljava/util/Iterator<Ljavax/imageio/spi/ImageTranscoderSpi;>;
14 15 5 iter Ljava/util/Iterator<Ljavax/imageio/spi/ImageTranscoderSpi;>;
Exception table:
from to target type
8 11 12 Class java.lang.IllegalArgumentException
Signature: (Ljavax/imageio/ImageReader;Ljavax/imageio/ImageWriter;)Ljava/util/Iterator<Ljavax/imageio/ImageTranscoder;>;
MethodParameters:
Name Flags
reader
writer
public static java.awt.image.BufferedImage read(java.io.File);
descriptor: (Ljava/io/File;)Ljava/awt/image/BufferedImage;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "input == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.File.canRead:()Z
ifne 4
3: new javax.imageio.IIOException
dup
ldc "Can't read input file!"
invokespecial javax.imageio.IIOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokestatic javax.imageio.ImageIO.createImageInputStream:(Ljava/lang/Object;)Ljavax/imageio/stream/ImageInputStream;
astore 1
start local 1 5: aload 1
ifnonnull 7
6: new javax.imageio.IIOException
dup
ldc "Can't create an ImageInputStream!"
invokespecial javax.imageio.IIOException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: javax.imageio.stream.ImageInputStream
StackMap stack:
aload 1
invokestatic javax.imageio.ImageIO.read:(Ljavax/imageio/stream/ImageInputStream;)Ljava/awt/image/BufferedImage;
astore 2
start local 2 8: aload 2
ifnonnull 10
9: aload 1
invokeinterface javax.imageio.stream.ImageInputStream.close:()V
10: StackMap locals: java.awt.image.BufferedImage
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 input Ljava/io/File;
5 11 1 stream Ljavax/imageio/stream/ImageInputStream;
8 11 2 bi Ljava/awt/image/BufferedImage;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input
public static java.awt.image.BufferedImage read(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Ljava/awt/image/BufferedImage;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "input == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokestatic javax.imageio.ImageIO.createImageInputStream:(Ljava/lang/Object;)Ljavax/imageio/stream/ImageInputStream;
astore 1
start local 1 3: aload 1
ifnonnull 5
4: new javax.imageio.IIOException
dup
ldc "Can't create an ImageInputStream!"
invokespecial javax.imageio.IIOException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: javax.imageio.stream.ImageInputStream
StackMap stack:
aload 1
invokestatic javax.imageio.ImageIO.read:(Ljavax/imageio/stream/ImageInputStream;)Ljava/awt/image/BufferedImage;
astore 2
start local 2 6: aload 2
ifnonnull 8
7: aload 1
invokeinterface javax.imageio.stream.ImageInputStream.close:()V
8: StackMap locals: java.awt.image.BufferedImage
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 input Ljava/io/InputStream;
3 9 1 stream Ljavax/imageio/stream/ImageInputStream;
6 9 2 bi Ljava/awt/image/BufferedImage;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input
public static java.awt.image.BufferedImage read(java.net.URL);
descriptor: (Ljava/net/URL;)Ljava/awt/image/BufferedImage;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "input == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aconst_null
astore 1
start local 1 3: aload 0
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
astore 1
4: goto 7
StackMap locals: java.net.URL java.io.InputStream
StackMap stack: java.io.IOException
5: astore 2
start local 2 6: new javax.imageio.IIOException
dup
ldc "Can't get input stream from URL!"
aload 2
invokespecial javax.imageio.IIOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 7: StackMap locals:
StackMap stack:
aload 1
invokestatic javax.imageio.ImageIO.createImageInputStream:(Ljava/lang/Object;)Ljavax/imageio/stream/ImageInputStream;
astore 2
start local 2 8: aload 2
ifnonnull 11
9: aload 1
invokevirtual java.io.InputStream.close:()V
10: new javax.imageio.IIOException
dup
ldc "Can't create an ImageInputStream!"
invokespecial javax.imageio.IIOException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: javax.imageio.stream.ImageInputStream
StackMap stack:
aload 2
invokestatic javax.imageio.ImageIO.read:(Ljavax/imageio/stream/ImageInputStream;)Ljava/awt/image/BufferedImage;
astore 3
start local 3 12: aload 3
ifnonnull 18
13: aload 2
invokeinterface javax.imageio.stream.ImageInputStream.close:()V
14: goto 18
end local 3 StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 4
16: aload 1
invokevirtual java.io.InputStream.close:()V
17: aload 4
athrow
start local 3 18: StackMap locals: java.awt.image.BufferedImage
StackMap stack:
aload 1
invokevirtual java.io.InputStream.close:()V
19: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 input Ljava/net/URL;
3 20 1 istream Ljava/io/InputStream;
6 7 2 e Ljava/io/IOException;
8 20 2 stream Ljavax/imageio/stream/ImageInputStream;
12 15 3 bi Ljava/awt/image/BufferedImage;
18 20 3 bi Ljava/awt/image/BufferedImage;
Exception table:
from to target type
3 4 5 Class java.io.IOException
11 15 15 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input
public static java.awt.image.BufferedImage read(javax.imageio.stream.ImageInputStream);
descriptor: (Ljavax/imageio/stream/ImageInputStream;)Ljava/awt/image/BufferedImage;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "stream == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokestatic javax.imageio.ImageIO.getImageReaders:(Ljava/lang/Object;)Ljava/util/Iterator;
astore 1
start local 1 3: aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
4: aconst_null
areturn
5: StackMap locals: java.util.Iterator
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.imageio.ImageReader
astore 2
start local 2 6: aload 2
invokevirtual javax.imageio.ImageReader.getDefaultReadParam:()Ljavax/imageio/ImageReadParam;
astore 3
start local 3 7: aload 2
aload 0
iconst_1
iconst_1
invokevirtual javax.imageio.ImageReader.setInput:(Ljava/lang/Object;ZZ)V
8: aload 2
iconst_0
aload 3
invokevirtual javax.imageio.ImageReader.read:(ILjavax/imageio/ImageReadParam;)Ljava/awt/image/BufferedImage;
astore 4
start local 4 9: goto 14
end local 4 StackMap locals: javax.imageio.stream.ImageInputStream java.util.Iterator javax.imageio.ImageReader javax.imageio.ImageReadParam
StackMap stack: java.lang.Throwable
10: astore 5
11: aload 2
invokevirtual javax.imageio.ImageReader.dispose:()V
12: aload 0
invokeinterface javax.imageio.stream.ImageInputStream.close:()V
13: aload 5
athrow
start local 4 14: StackMap locals: java.awt.image.BufferedImage
StackMap stack:
aload 2
invokevirtual javax.imageio.ImageReader.dispose:()V
15: aload 0
invokeinterface javax.imageio.stream.ImageInputStream.close:()V
16: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 stream Ljavax/imageio/stream/ImageInputStream;
3 17 1 iter Ljava/util/Iterator<Ljavax/imageio/ImageReader;>;
6 17 2 reader Ljavax/imageio/ImageReader;
7 17 3 param Ljavax/imageio/ImageReadParam;
9 10 4 bi Ljava/awt/image/BufferedImage;
14 17 4 bi Ljava/awt/image/BufferedImage;
Exception table:
from to target type
8 10 10 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
stream
public static boolean write(java.awt.image.RenderedImage, java.lang.String, javax.imageio.stream.ImageOutputStream);
descriptor: (Ljava/awt/image/RenderedImage;Ljava/lang/String;Ljavax/imageio/stream/ImageOutputStream;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "im == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "formatName == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 2
ifnonnull 6
5: new java.lang.IllegalArgumentException
dup
ldc "output == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 1
invokestatic javax.imageio.ImageIO.getWriter:(Ljava/awt/image/RenderedImage;Ljava/lang/String;)Ljavax/imageio/ImageWriter;
aload 2
invokestatic javax.imageio.ImageIO.doWrite:(Ljava/awt/image/RenderedImage;Ljavax/imageio/ImageWriter;Ljavax/imageio/stream/ImageOutputStream;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 im Ljava/awt/image/RenderedImage;
0 7 1 formatName Ljava/lang/String;
0 7 2 output Ljavax/imageio/stream/ImageOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
im
formatName
output
public static boolean write(java.awt.image.RenderedImage, java.lang.String, java.io.File);
descriptor: (Ljava/awt/image/RenderedImage;Ljava/lang/String;Ljava/io/File;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "output == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic javax.imageio.ImageIO.getWriter:(Ljava/awt/image/RenderedImage;Ljava/lang/String;)Ljavax/imageio/ImageWriter;
astore 3
start local 3 3: aload 3
ifnonnull 5
4: iconst_0
ireturn
5: StackMap locals: javax.imageio.ImageWriter
StackMap stack:
aload 2
invokevirtual java.io.File.delete:()Z
pop
6: aload 2
invokestatic javax.imageio.ImageIO.createImageOutputStream:(Ljava/lang/Object;)Ljavax/imageio/stream/ImageOutputStream;
astore 4
start local 4 7: aload 4
ifnonnull 9
8: new javax.imageio.IIOException
dup
ldc "Can't create an ImageOutputStream!"
invokespecial javax.imageio.IIOException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: javax.imageio.stream.ImageOutputStream
StackMap stack:
aload 0
aload 3
aload 4
invokestatic javax.imageio.ImageIO.doWrite:(Ljava/awt/image/RenderedImage;Ljavax/imageio/ImageWriter;Ljavax/imageio/stream/ImageOutputStream;)Z
istore 6
10: aload 4
invokeinterface javax.imageio.stream.ImageOutputStream.close:()V
11: iload 6
ireturn
12: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
13: aload 4
invokeinterface javax.imageio.stream.ImageOutputStream.close:()V
14: aload 5
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 im Ljava/awt/image/RenderedImage;
0 15 1 formatName Ljava/lang/String;
0 15 2 output Ljava/io/File;
3 15 3 writer Ljavax/imageio/ImageWriter;
7 15 4 stream Ljavax/imageio/stream/ImageOutputStream;
Exception table:
from to target type
9 10 12 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
im
formatName
output
public static boolean write(java.awt.image.RenderedImage, java.lang.String, java.io.OutputStream);
descriptor: (Ljava/awt/image/RenderedImage;Ljava/lang/String;Ljava/io/OutputStream;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "output == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
invokestatic javax.imageio.ImageIO.createImageOutputStream:(Ljava/lang/Object;)Ljavax/imageio/stream/ImageOutputStream;
astore 3
start local 3 3: aload 3
ifnonnull 5
4: new javax.imageio.IIOException
dup
ldc "Can't create an ImageOutputStream!"
invokespecial javax.imageio.IIOException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: javax.imageio.stream.ImageOutputStream
StackMap stack:
aload 0
aload 0
aload 1
invokestatic javax.imageio.ImageIO.getWriter:(Ljava/awt/image/RenderedImage;Ljava/lang/String;)Ljavax/imageio/ImageWriter;
aload 3
invokestatic javax.imageio.ImageIO.doWrite:(Ljava/awt/image/RenderedImage;Ljavax/imageio/ImageWriter;Ljavax/imageio/stream/ImageOutputStream;)Z
istore 5
6: aload 3
invokeinterface javax.imageio.stream.ImageOutputStream.close:()V
7: iload 5
ireturn
8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
9: aload 3
invokeinterface javax.imageio.stream.ImageOutputStream.close:()V
10: aload 4
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 im Ljava/awt/image/RenderedImage;
0 11 1 formatName Ljava/lang/String;
0 11 2 output Ljava/io/OutputStream;
3 11 3 stream Ljavax/imageio/stream/ImageOutputStream;
Exception table:
from to target type
5 6 8 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
im
formatName
output
private static javax.imageio.ImageWriter getWriter(java.awt.image.RenderedImage, java.lang.String);
descriptor: (Ljava/awt/image/RenderedImage;Ljava/lang/String;)Ljavax/imageio/ImageWriter;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokestatic javax.imageio.ImageTypeSpecifier.createFromRenderedImage:(Ljava/awt/image/RenderedImage;)Ljavax/imageio/ImageTypeSpecifier;
1: astore 2
start local 2 2: aload 2
aload 1
invokestatic javax.imageio.ImageIO.getImageWriters:(Ljavax/imageio/ImageTypeSpecifier;Ljava/lang/String;)Ljava/util/Iterator;
astore 3
start local 3 3: aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 5
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.imageio.ImageWriter
areturn
5: StackMap locals: javax.imageio.ImageTypeSpecifier java.util.Iterator
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 im Ljava/awt/image/RenderedImage;
0 6 1 formatName Ljava/lang/String;
2 6 2 type Ljavax/imageio/ImageTypeSpecifier;
3 6 3 iter Ljava/util/Iterator<Ljavax/imageio/ImageWriter;>;
MethodParameters:
Name Flags
im
formatName
private static boolean doWrite(java.awt.image.RenderedImage, javax.imageio.ImageWriter, javax.imageio.stream.ImageOutputStream);
descriptor: (Ljava/awt/image/RenderedImage;Ljavax/imageio/ImageWriter;Ljavax/imageio/stream/ImageOutputStream;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual javax.imageio.ImageWriter.setOutput:(Ljava/lang/Object;)V
3: aload 1
aload 0
invokevirtual javax.imageio.ImageWriter.write:(Ljava/awt/image/RenderedImage;)V
4: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 3
6: aload 1
invokevirtual javax.imageio.ImageWriter.dispose:()V
7: aload 2
invokeinterface javax.imageio.stream.ImageOutputStream.flush:()V
8: aload 3
athrow
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.imageio.ImageWriter.dispose:()V
10: aload 2
invokeinterface javax.imageio.stream.ImageOutputStream.flush:()V
11: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 im Ljava/awt/image/RenderedImage;
0 12 1 writer Ljavax/imageio/ImageWriter;
0 12 2 output Ljavax/imageio/stream/ImageOutputStream;
Exception table:
from to target type
3 5 5 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
im
writer
output
}
SourceFile: "ImageIO.java"
NestMembers:
javax.imageio.ImageIO$CacheInfo javax.imageio.ImageIO$CanDecodeInputFilter javax.imageio.ImageIO$CanEncodeImageAndFormatFilter javax.imageio.ImageIO$ContainsFilter javax.imageio.ImageIO$ImageReaderIterator javax.imageio.ImageIO$ImageTranscoderIterator javax.imageio.ImageIO$ImageWriterIterator javax.imageio.ImageIO$SpiInfo javax.imageio.ImageIO$SpiInfo$1 javax.imageio.ImageIO$SpiInfo$2 javax.imageio.ImageIO$SpiInfo$3 javax.imageio.ImageIO$TranscoderFilter
InnerClasses:
CacheInfo = javax.imageio.ImageIO$CacheInfo of javax.imageio.ImageIO
CanDecodeInputFilter = javax.imageio.ImageIO$CanDecodeInputFilter of javax.imageio.ImageIO
CanEncodeImageAndFormatFilter = javax.imageio.ImageIO$CanEncodeImageAndFormatFilter of javax.imageio.ImageIO
ContainsFilter = javax.imageio.ImageIO$ContainsFilter of javax.imageio.ImageIO
ImageReaderIterator = javax.imageio.ImageIO$ImageReaderIterator of javax.imageio.ImageIO
ImageTranscoderIterator = javax.imageio.ImageIO$ImageTranscoderIterator of javax.imageio.ImageIO
ImageWriterIterator = javax.imageio.ImageIO$ImageWriterIterator of javax.imageio.ImageIO
private abstract SpiInfo = javax.imageio.ImageIO$SpiInfo of javax.imageio.ImageIO
TranscoderFilter = javax.imageio.ImageIO$TranscoderFilter of javax.imageio.ImageIO
public abstract Filter = javax.imageio.spi.ServiceRegistry$Filter of javax.imageio.spi.ServiceRegistry