org.dstadler.commons.zip.OutputHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons-dost Show documentation
Show all versions of commons-dost Show documentation
Common utilities I find useful in many of my projects.
package org.dstadler.commons.zip;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
/**
* Interface for handling output of the Search.
*
* @author dominik.stadler
*/
public interface OutputHandler {
/**
* Reports a file that matched.
*
* @param file
* @return true if processing can be stopped, false otherwise
* @throws IOException
*/
public boolean found(File file, InputStream content) throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy