public class AntivirusScannerUtil
extends Object
Constructor and Description |
---|
AntivirusScannerUtil() |
Modifier and Type | Method and Description |
---|---|
static AntivirusScanner |
getAntivirusScanner() |
static boolean |
isActive() |
static void |
scan(byte[] bytes) |
static void |
scan(File file) |
static void |
scan(InputStream inputStream) |
void |
setAntivirusScanner(AntivirusScanner antivirusScanner) |
public static AntivirusScanner getAntivirusScanner()
public static boolean isActive()
public static void scan(byte[] bytes) throws AntivirusScannerException
AntivirusScannerException
public static void scan(File file) throws AntivirusScannerException
AntivirusScannerException
public static void scan(InputStream inputStream) throws AntivirusScannerException
AntivirusScannerException
public void setAntivirusScanner(AntivirusScanner antivirusScanner)