public interface URIDataPuller
Modifier and Type | Method and Description |
---|---|
InputStream |
getInputStream(URI uri)
Create a new InputStream based on the URI
|
String |
getVersion(URI uri)
Returns an abstract "version" for the URI.
|
com.google.common.base.Predicate<Throwable> |
shouldRetryPredicate()
Evaluates a Throwable to see if it is recoverable.
|
InputStream getInputStream(URI uri) throws IOException
uri
- The URI to open an Input Stream toIOException
String getVersion(URI uri) throws IOException
uri
- The URI to checkIOException
- on errorcom.google.common.base.Predicate<Throwable> shouldRetryPredicate()
Copyright © 2011–2017. All rights reserved.