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 Detail

      • scan

        ScanResult scan​(@Nonnull
                        java.io.InputStream content,
                        @Nullable
                        java.lang.String fileName)
                 throws AvsException
        Scans the given content for viruses.
        Parameters:
        content - content
        fileName - file name
        Returns:
        scan result
        Throws:
        AvsException - error during scan