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