
com.bumptech.glide.load.Encoder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of glide Show documentation
Show all versions of glide Show documentation
A fast and efficient image loading library for Android focused on smooth scrolling.
package com.bumptech.glide.load;
import java.io.File;
/**
* An interface for writing data to some persistent data store (i.e. a local File cache).
*
* @param The type of the data that will be written.
*/
public interface Encoder {
/**
* Writes the given data to the given output stream and returns True if the write completed
* successfully and should be committed.
*
* @param data The data to write.
* @param file The File to write the data to.
* @param options The put of options to apply when encoding.
*/
boolean encode(T data, File file, Options options);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy