public final class DefaultURIDownloader extends Object implements URIDownloader
URL's API doc guarantees that an implementation can handle the
following schemes: http, https, ftp, file and jar.
We choose however not to provide https for certificate handling reasons, which is a pain to get right.
URL.openStream()public static URIDownloader getInstance()
public InputStream fetch(URI source) throws IOException
URIDownloaderfetch in interface URIDownloadersource - the URIInputStreamIOException - unable to fetchCopyright © 2012. All Rights Reserved.