/** * Loads the original unmodified data into the cache and calls the given Target with the cache * File. * * @param target The Target that will receive the cache File when the load completes * @param <Y> The type of Target. * @return The given Target. * * @deprecated Use {@link RequestManager#downloadOnly()} and {@link #into(Target)}. */ @Deprecated @CheckResult public <Y extends Target<File>> Y downloadOnly(@NonNull Y target) { return getDownloadOnlyRequest().into(target); }
/** * Loads the original unmodified data into the cache and returns a * {@link java.util.concurrent.Future} that can be used to retrieve the cache File containing the * data. * * @param width The width in pixels to use to fetch the data. * @param height The height in pixels to use to fetch the data. * @return A {@link java.util.concurrent.Future} that can be used to retrieve the cache File * containing the data. * * @deprecated Use {@link RequestManager#downloadOnly()} and {@link #submit(int, int)}. */ @Deprecated @CheckResult public FutureTarget<File> downloadOnly(int width, int height) { return getDownloadOnlyRequest().submit(width, height); }
/** * Loads the original unmodified data into the cache and calls the given Target with the cache * File. * * @param target The Target that will receive the cache File when the load completes * @param <Y> The type of Target. * @return The given Target. * * @deprecated Use {@link RequestManager#downloadOnly()} and {@link #into(Target)}. */ @Deprecated @CheckResult public <Y extends Target<File>> Y downloadOnly(Y target) { return getDownloadOnlyRequest().into(target); }
/** * Loads the original unmodified data into the cache and returns a * {@link java.util.concurrent.Future} that can be used to retrieve the cache File containing the * data. * * @param width The width in pixels to use to fetch the data. * @param height The height in pixels to use to fetch the data. * @return A {@link java.util.concurrent.Future} that can be used to retrieve the cache File * containing the data. * * @deprecated Use {@link RequestManager#downloadOnly()} and {@link #into(int, int)}. */ @Deprecated @CheckResult public FutureTarget<File> downloadOnly(int width, int height) { return getDownloadOnlyRequest().submit(width, height); }