Package com.avoka.fc.core.service
Interface IVirusScanService
- All Known Implementing Classes:
ClamAVVirusScanService
,FluentVirusScanService
,SSEVirusScanService
public interface IVirusScanService
Provides an interface for scanning file attachments.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isFileVirusFree
(String filename, byte[] fileData) Scan the provided file and return true if virus free.
-
Method Details
-
isFileVirusFree
Scan the provided file and return true if virus free.- Parameters:
filename
- the name of the file to scanfileData
- the file data- Returns:
- true if the file is virus free
- Throws:
VirusScanException
- if there occurs a virus scan service configuration error
-