docs/javadoc/reference/com/facebook/imagepipeline/producers/DataFetchProducer.html
|
|
Consumer<T>
NetworkFetcher<FETCH_STATE extends FetchState>
Producer<T>
BaseConsumer<T>
BaseNetworkFetcher<FETCH_STATE extends FetchState>
DelegatingConsumer<I, O>
HttpUrlConnectionNetworkFetcher.HttpUrlConnectionNetworkFetchState
MultiplexProducer<K, T extends Closeable>
NullProducer<T>
PostprocessedBitmapMemoryCacheProducer.CachedPostprocessorConsumer
PriorityNetworkFetcher<FETCH_STATE extends FetchState>
PriorityNetworkFetcher.PriorityFetchState<FETCH_STATE extends FetchState>
Summary: Constants | Ctors | Protected Methods | Inherited Methods | [Expand All]
public class
extends LocalFetchProducer
| java.lang.Object | | ↳ | com.facebook.imagepipeline.producers.LocalFetchProducer | | | ↳ | com.facebook.imagepipeline.producers.DataFetchProducer |
Producer for data URIs.
Data URIs embed the data in the URI itself. They don't point to a file location; the URI is the data. Data can be encoded in either base-64 or escaped ASCII. See the spec for full details.
Data URIs are intended for small pieces of data only, since the URI lives on the Java heap. For large data, use a another URI type.
Charsets specified in the URI are ignored. Only UTF-8 encoding is currently supported.
| Constants |
|---|
| String |
| Public Constructors |
|---|
| Protected Methods |
|---|
| EncodedImage |
| Gets an encoded image from the local resource. |
| String |
| [Expand] Inherited Methods | | --- | | From class com.facebook.imagepipeline.producers.LocalFetchProducer
| EncodedImage | getByteBufferBackedEncodedImage(InputStream inputStream, int length) Creates a memory-backed encoded image from the stream. | | abstract EncodedImage | getEncodedImage(ImageRequest imageRequest) Gets an encoded image from the local resource. | | EncodedImage | getEncodedImage(InputStream inputStream, int length) | | abstract String | getProducerName() | | void | produceResults(Consumer<EncodedImage> consumer, ProducerContext producerContext) |
| | From class java.lang.Object
| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |
| | From interface com.facebook.imagepipeline.producers.Producer
| abstract void | produceResults(Consumer<T> consumer, ProducerContext context) Start producing results for given context. |
|
Constant Value: "DataFetchProducer"
Gets an encoded image from the local resource. It can be either backed by a FileInputStream or a PooledByteBuffer
| imageRequest | request that includes the local resource that is being accessed |
| IOException | |
+Generated by Doclava. +