@Override public InputStream getStream(String imageUri, Object extra) throws IOException { InputStream imageStream = wrappedDownloader.getStream(imageUri, extra); switch (Scheme.ofUri(imageUri)) { case HTTP: case HTTPS: return new FlushedInputStream(imageStream); default: return imageStream; } }
public InputStream getStream(String imageUri, Object extra) throws IOException { InputStream imageStream = this.wrappedDownloader.getStream(imageUri, extra); switch (Scheme.ofUri(imageUri)) { case HTTP: case HTTPS: return new FlushedInputStream(imageStream); default: return imageStream; } }
public InputStream getStream(String s, Object obj) { InputStream inputstream = a.getStream(s, obj); switch (f.a[com.nostra13.universalimageloader.core.download.ImageDownloader.Scheme.ofUri(s).ordinal()]) { default: return inputstream; case 1: // '\001' case 2: // '\002' return new FlushedInputStream(inputstream); } }