public interface VirusScanner
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled()
Indicate whether this
VirusScanner is enabled or not. |
void |
performVirusScan(InputStream inputStream)
Perform virus scan and throw exception if a virus has been detected.
|
boolean isEnabled()
VirusScanner
is enabled or not.true
if enabled, false
otherwisevoid performVirusScan(InputStream inputStream) throws VirusException
inputStream
- input stream to perform virus scan onVirusException
- if a virus has been detected by the scannerCopyright © 2019. All rights reserved.