home *** CD-ROM | disk | FTP | other *** search
- package sun.tools.jar;
-
- import java.io.InputStream;
- import java.net.URL;
- import sun.awt.image.ImageDecoder;
- import sun.awt.image.InputStreamImageSource;
- import sun.awt.image.URLImageSource;
-
- public class JarImageSource extends URLImageSource {
- // $FF: renamed from: is java.io.InputStream
- InputStream field_0;
- String mimeType;
-
- public JarImageSource(URL var1, InputStream var2, String var3) {
- super(var1);
- this.field_0 = var2;
- this.mimeType = var3;
- }
-
- protected ImageDecoder getDecoder() {
- ImageDecoder var1 = ((InputStreamImageSource)this).decoderForType(this.field_0, this.mimeType);
- if (var1 == null) {
- var1 = ((InputStreamImageSource)this).getDecoder(this.field_0);
- }
-
- return var1;
- }
- }
-