public final class Driver extends Object
The drivers are often necessary for a virus scan action. They contain the information about a virus. They are also known as signature files, DATs, virus definition files and so on.
History:
1.0 Initial Version for SAP NetWeaver 1.1 Added a pattern for clean test. 1.5 Enhancements in the native VSI layer 1.6 Dual runtime support (JAVA stand-alone and J2EE) 1.7 Added scanStream methods and support ActiveContent scan 1.8 Added getContentInfo and support for Content filtering 1.9 Minor bug fixes and new vendor parameters
Provider.getDrivers()
Constructor and Description |
---|
Driver(int majVersion,
int minVersion,
String driverName,
long date,
long viruses)
Constructor of class.
|
Modifier and Type | Method and Description |
---|---|
Date |
getDriverDate()
Get the date of the driver.
|
int |
getDriverMajorVersion()
Get the major version number of the Driver.
|
int |
getDriverMinorVersion()
Get the minor version number of the Driver.
|
String |
getDriverName()
Get the driver name.
|
long |
getNumberOfKnwonViruses()
Get the number of viruses the driver knows.
|
String |
toString()
Get the name of the driver object.
|
public Driver(int majVersion, int minVersion, String driverName, long date, long viruses)
majVersion
- Vendor dependent major version of the driver.minVersion
- Vendor dependent minor version of the driver.driverName
- Driver name.date
- Date of the driver.viruses
- Number of known viruses by this driver.public int getDriverMajorVersion()
public int getDriverMinorVersion()
public String getDriverName()
public Date getDriverDate()
public long getNumberOfKnwonViruses()
public String toString()
toString
in class Object
getDriverName()
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] ENGFACADE
|
[sap.com] tc/bl/vsi/api
|
api
|
BC-JAS-SEC
|
[sap.com] J2EE-APPS
|
[sap.com]
|
-
|
BC-SEC-VIR
|
[sap.com] J2EE-APPS
|
[sap.com]
|
default
|
BC-SEC-VIR
|
Copyright 2018 SAP AG Complete Copyright Notice