Interface VirusScanner<U,V>
-
- Type Parameters:
U- Return typeV- file path
public interface VirusScanner<U,V>- Author:
- Mukul Puspam
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UscanDocument(byte[] array)Scan byte array.UscanDocument(File doc)Scan File.UscanFile(String fileName)Scan file.UscanFile(V file)UscanFolder(String folderPath)Scan folder.
-
-
-
Method Detail
-
scanFile
U scanFile(String fileName)
Scan file.- Parameters:
fileName- the file name- Returns:
- the u
-
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
-
-