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.
This implementation, however, does not provide https support (certificate handling 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 © 2013. All Rights Reserved.