Back to project page webimageloader.
The source code is released under:
Apache License
If you think the Android project webimageloader listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.webimageloader; // w ww . j a v a 2s. c o m import java.io.IOException; import java.net.URL; import java.net.URLConnection; /** * Interface for creating an {@link URLConnection} for a request. * * @author Alexander Blom <alexanderblom.se> */ public interface ConnectionFactory { /** * Called to create the connection for a request. Note that this is * called from a background thread. * @param url the url * @return a new connection */ URLConnection openConnection(URL url) throws IOException; }