org.apache.james.jspf.terms
Class IP6Mechanism
java.lang.Object
org.apache.james.jspf.terms.GenericMechanism
org.apache.james.jspf.terms.IP4Mechanism
org.apache.james.jspf.terms.IP6Mechanism
- All Implemented Interfaces:
- LogEnabled, MacroExpandEnabled, SPFChecker, ConfigurationEnabled, Mechanism
public class IP6Mechanism
- extends IP4Mechanism
This class represent the ip6 mechanism
Field Summary |
static String |
REGEX
ABNF: IP6 = "ip6" ":" ip6-network [ ip6-cidr-length ] |
REGEX
public static final String REGEX
- ABNF: IP6 = "ip6" ":" ip6-network [ ip6-cidr-length ]
- See Also:
- Constant Field Values
IP6Mechanism
public IP6Mechanism()
isValidAddress
protected boolean isValidAddress(String ipString)
- Overrides:
isValidAddress
in class IP4Mechanism
- See Also:
IP4Mechanism.isValidAddress(String)
getMaxCidr
protected int getMaxCidr()
- Description copied from class:
IP4Mechanism
- Returns the max cidr for ip4
- Overrides:
getMaxCidr
in class IP4Mechanism
- Returns:
- maxCidr The max cidr
- See Also:
IP4Mechanism.getMaxCidr()
toString
public String toString()
- Overrides:
toString
in class IP4Mechanism
- See Also:
Object.toString()
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.