public abstract class ERXVirusScanner
extends java.lang.Object
| Constructor and Description |
|---|
ERXVirusScanner() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
isOk()
Access the result of the previous scan.
|
abstract void |
scan(java.io.File file)
Virus scanner should scan the given file.
|
abstract void |
scan(java.io.InputStream inputStream)
Virus scanner should scan the given input stream.
|
public abstract void scan(java.io.File file)
isOk() if file
passed the check.file - the file to scanpublic abstract void scan(java.io.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 – 2022 Project Wonder.