Package de.xima.fc.gui.common.virus
Class PrimeFacesVirusScannerProvider
- java.lang.Object
 - 
- de.xima.fc.gui.common.virus.PrimeFacesVirusScannerProvider
 
 
- 
- All Implemented Interfaces:
 org.primefaces.virusscan.VirusScanner
public final class PrimeFacesVirusScannerProvider extends Object implements org.primefaces.virusscan.VirusScanner
VirusScannerservice implementation that delegates to theMalwareScanner. The client scope is read from the current view and session, if any.- Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Constructor Summary
Constructors Constructor Description PrimeFacesVirusScannerProvider() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisEnabled()voidscan(org.primefaces.model.file.UploadedFile uploadedFile) 
 - 
 
- 
- 
Method Detail
- 
isEnabled
public boolean isEnabled()
- Specified by:
 isEnabledin interfaceorg.primefaces.virusscan.VirusScanner
 
- 
scan
public void scan(org.primefaces.model.file.UploadedFile uploadedFile) throws org.primefaces.virusscan.VirusException- Specified by:
 scanin interfaceorg.primefaces.virusscan.VirusScanner- Throws:
 org.primefaces.virusscan.VirusException
 
 - 
 
 -