public interface Scanner<T>
| Modifier and Type | Method and Description |
|---|---|
default void |
copy(InputStream input,
OutputStream output) |
String |
extension() |
default void |
scan(String name,
InputStream input,
Collection<FractionDetector<T>> detectors,
Consumer<File> handleFileAsZip) |
default void |
scan(ZipFile source,
BiConsumer<ZipEntry,ZipFile> childHandler) |
String extension()
default void scan(ZipFile source, BiConsumer<ZipEntry,ZipFile> childHandler) throws IOException
IOExceptiondefault void scan(String name, InputStream input, Collection<FractionDetector<T>> detectors, Consumer<File> handleFileAsZip) throws IOException
IOExceptiondefault void copy(InputStream input, OutputStream output) throws IOException
IOExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.