org.opennms.web.vulnerability.filter
Class InterfaceFilter

java.lang.Object
  extended by org.opennms.web.vulnerability.filter.InterfaceFilter
All Implemented Interfaces:
Filter

Deprecated. This filter is not IPv6 compatible.

public class InterfaceFilter
extends Object
implements Filter

Encapsulates all interface filtering functionality.

Since:
1.8.1
Version:
$Id: $
Author:
ranger

Field Summary
protected  String ipAddress
          Deprecated.  
static String TYPE
          Deprecated. Constant TYPE="interface"
 
Constructor Summary
InterfaceFilter(String ipAddress)
          Deprecated. Constructor for InterfaceFilter.
 
Method Summary
 int bindParam(PreparedStatement ps, int parameterIndex)
          Deprecated. Binds the parameter values corresponding to the ? tokens in the string returned from getParamSql() to a prepared statement.
 boolean equals(Object obj)
          Deprecated. 
 String getDescription()
          Deprecated. getDescription
 String getIpAddress()
          Deprecated. Getter for the field ipAddress.
 String getParamSql()
          Deprecated. getParamSql
 String getSql()
          Deprecated. This function will produce invalid SQL for some IPv6 addresses.
 String getTextDescription()
          Deprecated. getTextDescription
 String toString()
          Deprecated. toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final String TYPE
Deprecated. 
Constant TYPE="interface"

See Also:
Constant Field Values

ipAddress

protected String ipAddress
Deprecated. 
Constructor Detail

InterfaceFilter

public InterfaceFilter(String ipAddress)
Deprecated. 

Constructor for InterfaceFilter.

Parameters:
ipAddress - a String object.
Method Detail

getSql

public String getSql()
Deprecated. This function will produce invalid SQL for some IPv6 addresses.

getSql

Specified by:
getSql in interface Filter
Returns:
a String object.

getParamSql

public String getParamSql()
Deprecated. 

getParamSql

Specified by:
getParamSql in interface Filter
Returns:
a String object.

bindParam

public int bindParam(PreparedStatement ps,
                     int parameterIndex)
              throws SQLException
Deprecated. 
Binds the parameter values corresponding to the ? tokens in the string returned from getParamSql() to a prepared statement. Returns the number of parameters that were bound.

Specified by:
bindParam in interface Filter
Parameters:
ps - a PreparedStatement object.
parameterIndex - a int.
Returns:
a int.
Throws:
SQLException - if any.

getDescription

public String getDescription()
Deprecated. 

getDescription

Specified by:
getDescription in interface Filter
Returns:
a String object.

getTextDescription

public String getTextDescription()
Deprecated. 

getTextDescription

Specified by:
getTextDescription in interface Filter
Returns:
a String object.

toString

public String toString()
Deprecated. 

toString

Overrides:
toString in class Object
Returns:
a String object.

getIpAddress

public String getIpAddress()
Deprecated. 

Getter for the field ipAddress.

Returns:
a String object.

equals

public boolean equals(Object obj)
Deprecated. 

Overrides:
equals in class Object


Copyright © 2011. All Rights Reserved.