public class Scanner
extends java.lang.Object
Constructor and Description |
---|
Scanner() |
Modifier and Type | Method and Description |
---|---|
void |
Cancel() |
void |
Destroy() |
boolean |
IsCanceled() |
ThreatInfo[] |
ScanBuffer(byte[] buffer,
boolean stopAtFirstThreat,
java.lang.String fileName) |
void |
ScanBuffer(byte[] buffer,
IThreatHandler threatHandler,
java.lang.String fileName) |
ThreatInfo[] |
ScanFile(java.lang.String fileName,
boolean stopAtFirstThreat) |
void |
ScanFile(java.lang.String fileName,
IThreatHandler threatHandler) |
ThreatInfo[] |
ScanString(java.lang.String str,
boolean stopAtFirstThreat) |
void |
ScanString(java.lang.String str,
IThreatHandler threatHandler) |
public void Destroy()
public void Cancel()
public boolean IsCanceled()
public void ScanString(java.lang.String str, IThreatHandler threatHandler) throws InvalidLicenseException, LicenseExpiredException, SettingsException, java.util.concurrent.CancellationException, java.io.IOException, java.lang.Exception
InvalidLicenseException
LicenseExpiredException
SettingsException
java.util.concurrent.CancellationException
java.io.IOException
java.lang.Exception
public void ScanBuffer(byte[] buffer, IThreatHandler threatHandler, java.lang.String fileName) throws InvalidLicenseException, LicenseExpiredException, SettingsException, java.util.concurrent.CancellationException, UnsupportedMimeTypeException, java.io.IOException, java.lang.Exception
InvalidLicenseException
LicenseExpiredException
SettingsException
java.util.concurrent.CancellationException
UnsupportedMimeTypeException
java.io.IOException
java.lang.Exception
public void ScanFile(java.lang.String fileName, IThreatHandler threatHandler) throws InvalidLicenseException, LicenseExpiredException, SettingsException, java.util.concurrent.CancellationException, UnsupportedMimeTypeException, java.io.FileNotFoundException, java.io.IOException, java.lang.Exception
InvalidLicenseException
LicenseExpiredException
SettingsException
java.util.concurrent.CancellationException
UnsupportedMimeTypeException
java.io.FileNotFoundException
java.io.IOException
java.lang.Exception
public ThreatInfo[] ScanString(java.lang.String str, boolean stopAtFirstThreat) throws InvalidLicenseException, LicenseExpiredException, SettingsException, java.util.concurrent.CancellationException, java.io.IOException, java.lang.Exception
InvalidLicenseException
LicenseExpiredException
SettingsException
java.util.concurrent.CancellationException
java.io.IOException
java.lang.Exception
public ThreatInfo[] ScanBuffer(byte[] buffer, boolean stopAtFirstThreat, java.lang.String fileName) throws InvalidLicenseException, LicenseExpiredException, SettingsException, java.util.concurrent.CancellationException, UnsupportedMimeTypeException, java.io.IOException, java.lang.Exception
InvalidLicenseException
LicenseExpiredException
SettingsException
java.util.concurrent.CancellationException
UnsupportedMimeTypeException
java.io.IOException
java.lang.Exception
public ThreatInfo[] ScanFile(java.lang.String fileName, boolean stopAtFirstThreat) throws InvalidLicenseException, LicenseExpiredException, SettingsException, java.util.concurrent.CancellationException, UnsupportedMimeTypeException, java.io.FileNotFoundException, java.io.IOException, java.lang.Exception
InvalidLicenseException
LicenseExpiredException
SettingsException
java.util.concurrent.CancellationException
UnsupportedMimeTypeException
java.io.FileNotFoundException
java.io.IOException
java.lang.Exception