public class ERXClamAvVirusScanner extends ERXVirusScanner
| Name | Description |
|---|---|
er.extensions.virus.ERXClamAvVirusScanner | set this property to
the path of the clamscan executable. Defaults to
/usr/bin/clamscan |
| Constructor and Description |
|---|
ERXClamAvVirusScanner() |
ERXClamAvVirusScanner(File file) |
ERXClamAvVirusScanner(InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isOk()
Access the result of the previous scan.
|
void |
scan(File file)
Virus scanner should scan the given file.
|
void |
scan(InputStream inputStream)
Virus scanner should scan the given input stream.
|
public ERXClamAvVirusScanner()
public ERXClamAvVirusScanner(File file)
public ERXClamAvVirusScanner(InputStream inputStream)
public void scan(File file)
ERXVirusScannerERXVirusScanner.isOk() if file
passed the check.scan in class ERXVirusScannerfile - the file to scanpublic void scan(InputStream inputStream)
ERXVirusScannerERXVirusScanner.isOk()
if file passed the check.scan in class ERXVirusScannerinputStream - the input stream to scanpublic boolean isOk()
ERXVirusScannerisOk in class ERXVirusScannertrue if file/stream is virus freeCopyright © 2002 – 2020 Project Wonder.