public class ScannerExecutor
extends java.lang.Object
| Constructor and Description |
|---|
ScannerExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
Destroy() |
ThreadPool |
GetThreadPool() |
ThreatInfosFuture |
ScanBuffer(byte[] buffer,
boolean stopAtFirstThreat,
java.lang.String fileName,
int priority) |
VoidFuture |
ScanBuffer(byte[] buffer,
IThreatHandler threatHandler,
java.lang.String fileName,
int priority) |
ThreatInfosFuture |
ScanFile(java.lang.String fileName,
boolean stopAtFirstThreat,
int priority) |
VoidFuture |
ScanFile(java.lang.String fileName,
IThreatHandler threatHandler,
int priority) |
ThreatInfosFuture |
ScanString(java.lang.String str,
boolean stopAtFirstThreat,
int priority) |
VoidFuture |
ScanString(java.lang.String str,
IThreatHandler threatHandler,
int priority) |
public void Destroy()
public ThreadPool GetThreadPool()
public VoidFuture ScanString(java.lang.String str, IThreatHandler threatHandler, int priority) throws InvalidLicenseException, LicenseExpiredException, SettingsException, java.io.IOException, java.lang.Exception
InvalidLicenseExceptionLicenseExpiredExceptionSettingsExceptionjava.io.IOExceptionjava.lang.Exceptionpublic VoidFuture ScanBuffer(byte[] buffer, IThreatHandler threatHandler, java.lang.String fileName, int priority) throws InvalidLicenseException, LicenseExpiredException, SettingsException, UnsupportedMimeTypeException, java.io.IOException, java.lang.Exception
InvalidLicenseExceptionLicenseExpiredExceptionSettingsExceptionUnsupportedMimeTypeExceptionjava.io.IOExceptionjava.lang.Exceptionpublic VoidFuture ScanFile(java.lang.String fileName, IThreatHandler threatHandler, int priority) throws InvalidLicenseException, LicenseExpiredException, SettingsException, UnsupportedMimeTypeException, java.io.FileNotFoundException, java.io.IOException, java.lang.Exception
InvalidLicenseExceptionLicenseExpiredExceptionSettingsExceptionUnsupportedMimeTypeExceptionjava.io.FileNotFoundExceptionjava.io.IOExceptionjava.lang.Exceptionpublic ThreatInfosFuture ScanString(java.lang.String str, boolean stopAtFirstThreat, int priority) throws InvalidLicenseException, LicenseExpiredException, SettingsException, java.io.IOException, java.lang.Exception
InvalidLicenseExceptionLicenseExpiredExceptionSettingsExceptionjava.io.IOExceptionjava.lang.Exceptionpublic ThreatInfosFuture ScanBuffer(byte[] buffer, boolean stopAtFirstThreat, java.lang.String fileName, int priority) throws InvalidLicenseException, LicenseExpiredException, SettingsException, UnsupportedMimeTypeException, java.io.IOException, java.lang.Exception
InvalidLicenseExceptionLicenseExpiredExceptionSettingsExceptionUnsupportedMimeTypeExceptionjava.io.IOExceptionjava.lang.Exceptionpublic ThreatInfosFuture ScanFile(java.lang.String fileName, boolean stopAtFirstThreat, int priority) throws InvalidLicenseException, LicenseExpiredException, SettingsException, UnsupportedMimeTypeException, java.io.FileNotFoundException, java.io.IOException, java.lang.Exception
InvalidLicenseExceptionLicenseExpiredExceptionSettingsExceptionUnsupportedMimeTypeExceptionjava.io.FileNotFoundExceptionjava.io.IOExceptionjava.lang.Exception