Interface VirusScanner<U,​V>

  • Type Parameters:
    U - Return type
    V - file path

    public interface VirusScanner<U,​V>
    Author:
    Mukul Puspam
    • Method Detail

      • scanFile

        U scanFile​(String fileName)
        Scan file.
        Parameters:
        fileName - the file name
        Returns:
        the u
      • scanFile

        U scanFile​(V file)
      • scanFolder

        U scanFolder​(String folderPath)
        Scan folder.
        Parameters:
        folderPath - the folder path
        Returns:
        the u
      • scanDocument

        U scanDocument​(byte[] array)
                throws IOException
        Scan byte array.
        Parameters:
        array - array
        Returns:
        the u
        Throws:
        IOException - if exception occurs while failed or interrupted I/O operations
      • scanDocument

        U scanDocument​(File doc)
                throws IOException
        Scan File.
        Parameters:
        doc - object
        Returns:
        the u
        Throws:
        IOException - if exception occurs while failed or interrupted I/O operations