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
InvalidLicenseException
LicenseExpiredException
SettingsException
java.io.IOException
java.lang.Exception
public VoidFuture ScanBuffer(byte[] buffer, IThreatHandler threatHandler, java.lang.String fileName, int priority) throws InvalidLicenseException, LicenseExpiredException, SettingsException, UnsupportedMimeTypeException, java.io.IOException, java.lang.Exception
InvalidLicenseException
LicenseExpiredException
SettingsException
UnsupportedMimeTypeException
java.io.IOException
java.lang.Exception
public VoidFuture ScanFile(java.lang.String fileName, IThreatHandler threatHandler, int priority) throws InvalidLicenseException, LicenseExpiredException, SettingsException, UnsupportedMimeTypeException, java.io.FileNotFoundException, java.io.IOException, java.lang.Exception
InvalidLicenseException
LicenseExpiredException
SettingsException
UnsupportedMimeTypeException
java.io.FileNotFoundException
java.io.IOException
java.lang.Exception
public ThreatInfosFuture ScanString(java.lang.String str, boolean stopAtFirstThreat, int priority) throws InvalidLicenseException, LicenseExpiredException, SettingsException, java.io.IOException, java.lang.Exception
InvalidLicenseException
LicenseExpiredException
SettingsException
java.io.IOException
java.lang.Exception
public ThreatInfosFuture ScanBuffer(byte[] buffer, boolean stopAtFirstThreat, java.lang.String fileName, int priority) throws InvalidLicenseException, LicenseExpiredException, SettingsException, UnsupportedMimeTypeException, java.io.IOException, java.lang.Exception
InvalidLicenseException
LicenseExpiredException
SettingsException
UnsupportedMimeTypeException
java.io.IOException
java.lang.Exception
public ThreatInfosFuture ScanFile(java.lang.String fileName, boolean stopAtFirstThreat, int priority) throws InvalidLicenseException, LicenseExpiredException, SettingsException, UnsupportedMimeTypeException, java.io.FileNotFoundException, java.io.IOException, java.lang.Exception
InvalidLicenseException
LicenseExpiredException
SettingsException
UnsupportedMimeTypeException
java.io.FileNotFoundException
java.io.IOException
java.lang.Exception