Interface AvsScannerEnine
-
@ConsumerType public interface AvsScannerEnine
Interface for scanner engines. Do not use directly for scanning but to implement new scanner engines.- Author:
- Roland Gruber
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScanResult
scan(java.io.InputStream content, java.lang.String fileName)
Scans the given content for viruses.
-
-
-
Method Detail
-
scan
ScanResult scan(@Nonnull java.io.InputStream content, @Nullable java.lang.String fileName) throws AvsException
Scans the given content for viruses.- Parameters:
content
- contentfileName
- file name- Returns:
- scan result
- Throws:
AvsException
- error during scan
-
-