All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.skjolber.unzip.FileEntryStreamHandler Maven / Gradle / Ivy

There is a newer version: 1.0.10
Show newest version
package com.github.skjolber.unzip;

import java.io.InputStream;
import java.util.concurrent.ThreadPoolExecutor;

public interface FileEntryStreamHandler {

	/**
	 * Handle a file entry
	 * 
	 * @param in file binary stream
	 * @param executor work delegation executor
	 * @param consume if true, the stream must be consumed in the current thread (not delegated to executor)
	 * @throws Exception if a problem occurs
	 */
	void handle(InputStream in, ThreadPoolExecutor executor, boolean consume) throws Exception;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy