Oracle Email Java API Reference
Release 2(9.0.4)

B10724-01

oracle.mail.sdk.esmail
Class ScanTerm

oracle.mail.sdk.esmail.ScanTerm

public class ScanTerm

Constructor Summary
ScanTerm(java.lang.String vendor, java.lang.String definition)
          Construct a ScanTerm object.

 

Method Summary
 java.lang.String getDefinition()
          Retrieve the virus definition
 java.lang.String getVendor()
          Retrieve the vendor name
 boolean match(javax.mail.Message msg)
          Matching is not supported for runtime searching.
 java.lang.String toString()
          Prints the "SCANNEDBY" representation

 

Constructor Detail

ScanTerm

public ScanTerm(java.lang.String vendor,
                java.lang.String definition)
Construct a ScanTerm object.
Parameters:
vendor - the virus scanner vendor name
definition - the virus definition ID
Method Detail

getVendor

public java.lang.String getVendor()
Retrieve the vendor name
Returns:
virus scanner vendor name

getDefinition

public java.lang.String getDefinition()
Retrieve the virus definition
Returns:
virus definition ID string

match

public boolean match(javax.mail.Message msg)
Matching is not supported for runtime searching.
Parameters:
msg - the message object to be compared
Returns:
always return false

toString

public java.lang.String toString()
Prints the "SCANNEDBY" representation
Returns:
the string representation of the ScanTerm object

Oracle Email Java API Reference
Release 2(9.0.4)

B10724-01

Copyright © 1988, 2003 Oracle Corporation. All Rights Reserved.