Liferay 6.2-ce-ga5

com.liferay.portlet.documentlibrary.antivirus
Class AntivirusScannerUtil

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.antivirus.AntivirusScannerUtil

public class AntivirusScannerUtil
extends Object


Constructor Summary
AntivirusScannerUtil()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntivirusScannerUtil

public AntivirusScannerUtil()
Method Detail

getAntivirusScanner

public static AntivirusScanner getAntivirusScanner()

isActive

public static boolean isActive()

scan

public static void scan(byte[] bytes)
                 throws AntivirusScannerException,
                        SystemException
Throws:
AntivirusScannerException
SystemException

scan

public static void scan(File file)
                 throws AntivirusScannerException,
                        SystemException
Throws:
AntivirusScannerException
SystemException

scan

public static void scan(InputStream inputStream)
                 throws AntivirusScannerException,
                        SystemException
Throws:
AntivirusScannerException
SystemException

setAntivirusScanner

public void setAntivirusScanner(AntivirusScanner antiVirusScanner)

Liferay 6.2-ce-ga5