Package de.valtech.avs.api.service
Interface AvsService
-
@ProviderType public interface AvsServiceScanner service interface. Use this to scan for viruses.- Author:
- Roland Gruber
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhasActiveScanEngines()Returns if there is at least one active scan engine.ScanResultscan(java.io.InputStream content, java.lang.String userId)Scans the given content for viruses.ScanResultscan(java.io.InputStream content, java.lang.String userId, java.lang.String path)Scans the given content for viruses.
-
-
-
Method Detail
-
scan
ScanResult scan(java.io.InputStream content, java.lang.String userId) throws AvsException
Scans the given content for viruses.- Parameters:
content- contentuserId- user name- Returns:
- scan result
- Throws:
AvsException- error during scan
-
scan
ScanResult scan(java.io.InputStream content, java.lang.String userId, java.lang.String path) throws AvsException
Scans the given content for viruses.- Parameters:
content- contentuserId- user namepath- node path to add in history- Returns:
- scan result
- Throws:
AvsException- error during scan
-
hasActiveScanEngines
boolean hasActiveScanEngines()
Returns if there is at least one active scan engine.- Returns:
- scan engines available
-
-