Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.antivirus
Class BaseFileAntivirusScanner

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

public abstract class BaseFileAntivirusScanner
extends Object
implements AntivirusScanner


Constructor Summary
BaseFileAntivirusScanner()
           
 
Method Summary
 boolean isActive()
           
 void scan(byte[] bytes)
           
 void scan(InputStream inputStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.documentlibrary.antivirus.AntivirusScanner
scan
 

Constructor Detail

BaseFileAntivirusScanner

public BaseFileAntivirusScanner()
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(InputStream inputStream)
          throws AntivirusScannerException,
                 SystemException
Specified by:
scan in interface AntivirusScanner
Throws:
AntivirusScannerException
SystemException

Liferay 6.1.2-ce-ga3