Interface VirusScanner

    • Method Detail

      • isEnabled

        boolean isEnabled()
        Indicate whether this VirusScanner is enabled or not.
        Returns:
        true if enabled, false otherwise
      • scan

        void scan​(UploadedFile file)
        Perform virus scan and throw exception if a virus has been detected.
        Parameters:
        file - file to perform virus scan on