Liferay 6.2-ce-ga5

com.liferay.portlet.documentlibrary.antivirus
Interface AntivirusScanner

All Known Implementing Classes:
AntivirusScannerWrapper, BaseFileAntivirusScanner, BaseInputStreamAntivirusScanner

public interface AntivirusScanner


Method Summary
 boolean isActive()
           
 void scan(byte[] bytes)
           
 void scan(File file)
           
 void scan(InputStream inputStream)
           
 

Method Detail

isActive

boolean isActive()

scan

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

scan

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

scan

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

Liferay 6.2-ce-ga5