Package org.opencms.ade.upload
Interface I_CmsVirusScanner
- All Superinterfaces:
I_CmsConfigurationParameterHandler
Interface for virus scanners used to check uploaded files.
-
Field Summary
Fields inherited from interface org.opencms.configuration.I_CmsConfigurationParameterHandler
ADD_PARAMETER_METHOD, INIT_CONFIGURATION_METHOD
-
Method Summary
Modifier and TypeMethodDescriptionscan
(InputStream stream) Scans file data for viruses.void
test()
Used to test the availability of the virus scanner.Methods inherited from interface org.opencms.configuration.I_CmsConfigurationParameterHandler
addConfigurationParameter, getConfiguration, initConfiguration
-
Method Details
-
scan
Scans file data for viruses.- Parameters:
data
- the data to scan as a stream- Returns:
- a list of names of viruses found
-
test
void test()Used to test the availability of the virus scanner.
-