Interface IVirusScanService

    • Method Detail

      • isFileVirusFree

        boolean isFileVirusFree​(String filename,
                                byte[] fileData)
                         throws VirusScanException
        Scan the provided file and return true if virus free.
        Parameters:
        filename - the name of the file to scan
        fileData - the file data
        Returns:
        true if the file is virus free
        Throws:
        VirusScanException - if there occurs a virus scan service configuration error