public class StreamLocalUriFetcher extends LocalUriFetcher<InputStream >
InputStream for a local
android.net.Uri.
| Constructor and Description |
|---|
StreamLocalUriFetcher(Context context, Uri uri)
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
close(InputStream
Closes the concrete data type if necessary.
|
protected InputStream |
loadResource(Uri uri, ContentResolver contentResolver)
Returns a concrete data type from the given
android.net.Uri using the given
android.content.ContentResolver.
|
cancel, cleanup, getId, loadDataprotected InputStreamloadResource(Uri uri, ContentResolver contentResolver) throws FileNotFoundException
LocalUriFetcher
android.net.Uri using the given
android.content.ContentResolver.
loadResource in class
LocalUriFetcher<InputStream>
FileNotFoundException -
protected void close(InputStreamdata) throws IOException
LocalUriFetcher
Note - We can't rely on the closeable interface because it was added after our min API level. See issue #157.
close in class
LocalUriFetcher<InputStream>
data - The data to close.
IOException -