Liferay 6.2-ce-ga5

com.liferay.portlet.documentlibrary.antivirus
Class AntivirusScannerWrapper

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.antivirus.AntivirusScannerWrapper
All Implemented Interfaces:
AntivirusScanner

public class AntivirusScannerWrapper
extends Object
implements AntivirusScanner


Constructor Summary
AntivirusScannerWrapper(AntivirusScanner antivirusScanner)
           
 
Method Summary
 boolean isActive()
           
 void scan(byte[] bytes)
           
 void scan(File file)
           
 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

AntivirusScannerWrapper

public AntivirusScannerWrapper(AntivirusScanner antivirusScanner)
Method Detail

isActive

public boolean isActive()
Specified by:
isActive in interface AntivirusScanner

scan

public void scan(byte[] bytes)
          throws AntivirusScannerException,
                 SystemException
Specified by:
scan in interface AntivirusScanner
Throws:
AntivirusScannerException
SystemException

scan

public void scan(File file)
          throws AntivirusScannerException,
                 SystemException
Specified by:
scan in interface AntivirusScanner
Throws:
AntivirusScannerException
SystemException

scan

public void scan(InputStream inputStream)
          throws AntivirusScannerException,
                 SystemException
Specified by:
scan in interface AntivirusScanner
Throws:
AntivirusScannerException
SystemException

setAntivirusScanner

public void setAntivirusScanner(AntivirusScanner antivirusScanner)

Liferay 6.2-ce-ga5