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 is what this downloader uses.
URL.openStream()public static URIDownloader getInstance()
public InputStream fetch(URI source) throws IOException
URIDownloaderfetch in interface URIDownloadersource - the URIInputStreamIOException - unable to find an input streamCopyright © 2013. All Rights Reserved.