org.apache.james.jspf.core
Class SPF1Utils
java.lang.Object
org.apache.james.jspf.core.SPF1Utils
public class SPF1Utils
- extends java.lang.Object
Class that offer static methods to convert SPF Results and contains all
possible results as static Strings.
Method Summary |
static boolean |
checkFQDN(java.lang.String host)
Check for valid FQDN |
static java.lang.String |
resultToName(java.lang.String result)
Convert raw SPF results to SPF names |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_EXPLANATION
public static final java.lang.String DEFAULT_EXPLANATION
- See Also:
- Constant Field Values
BEST_GUESS_RECORD
public static final java.lang.String BEST_GUESS_RECORD
- See Also:
- Constant Field Values
ATTRIBUTE_SPF1_RECORD
public static final java.lang.String ATTRIBUTE_SPF1_RECORD
- See Also:
- Constant Field Values
SPF1Utils
public SPF1Utils()
resultToName
public static java.lang.String resultToName(java.lang.String result)
- Convert raw SPF results to SPF names
- Parameters:
result
- The result which should converted
- Returns:
- coverted result
checkFQDN
public static boolean checkFQDN(java.lang.String host)
- Check for valid FQDN
- Parameters:
host
- The hostname to check
- Returns:
- false or true
Copyright © 2006-2009 The Apache Software Foundation. All Rights Reserved.