public abstract class ERXVirusScanner extends Object
| Constructor and Description |
|---|
ERXVirusScanner() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
isOk()
Access the result of the previous scan.
|
abstract void |
scan(File file)
Virus scanner should scan the given file.
|
abstract void |
scan(InputStream inputStream)
Virus scanner should scan the given input stream.
|
public abstract void scan(File file)
isOk() if file
passed the check.file - the file to scanpublic abstract void scan(InputStream inputStream)
isOk()
if file passed the check.inputStream - the input stream to scanpublic abstract boolean isOk()
true if file/stream is virus freeCopyright © 2002 – 2020 Project Wonder.