use of com.tvd12.ezyfox.concurrent.EzyCallableFutureTask in project ezyhttp by youngmonkeys.
the class ResourceDownloadManager method drainAsync.
public void drainAsync(InputStream from, OutputStream to, EzyResultCallback<Boolean> callback) {
Entry entry = new Entry(from, to);
EzyCallableFutureTask future = new EzyCallableFutureTask(callback);
drain(entry, future);
}
Aggregations