|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bumptech.glide.load.resource.file.StreamFileDataLoadProvider
public class StreamFileDataLoadProvider
An DataLoadProvider
that provides encoders and decoders for for obtaining a
cache file from InputStream
data.
Constructor Summary | |
---|---|
StreamFileDataLoadProvider()
|
Method Summary | |
---|---|
ResourceDecoder<File,File> |
getCacheDecoder()
Returns the ResourceDecoder to use to decode the resource from the disk cache. |
ResourceEncoder<File> |
getEncoder()
Returns the ResourceEncoder to use to write the decoded and transformed resource
to the disk cache. |
ResourceDecoder<InputStream,File> |
getSourceDecoder()
Returns the ResourceDecoder to use to decode the resource from the original data. |
Encoder<InputStream> |
getSourceEncoder()
Returns the Encoder to use to write the original data to the disk cache. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StreamFileDataLoadProvider()
Method Detail |
---|
public ResourceDecoder<File,File> getCacheDecoder()
DataLoadProvider
ResourceDecoder
to use to decode the resource from the disk cache.
getCacheDecoder
in interface DataLoadProvider<InputStream,File>
public ResourceDecoder<InputStream,File> getSourceDecoder()
DataLoadProvider
ResourceDecoder
to use to decode the resource from the original data.
getSourceDecoder
in interface DataLoadProvider<InputStream,File>
public Encoder<InputStream> getSourceEncoder()
DataLoadProvider
Encoder
to use to write the original data to the disk cache.
getSourceEncoder
in interface DataLoadProvider<InputStream,File>
public ResourceEncoder<File> getEncoder()
DataLoadProvider
ResourceEncoder
to use to write the decoded and transformed resource
to the disk cache.
getEncoder
in interface DataLoadProvider<InputStream,File>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |