Package org.apache.james.jspf.core
Interface SPFRecordParser
- All Known Implementing Classes:
RFC4408SPF1Parser
public interface SPFRecordParser
Implementations of this interface should handle parsing of SPFRecords
-
Method Summary
Modifier and TypeMethodDescriptionThis Method parse the given spf record and checks for syntax parse can be called by multiple concurrent threads.
-
Method Details
-
parse
This Method parse the given spf record and checks for syntax parse can be called by multiple concurrent threads.- Parameters:
spfRecord
- The String which represent the spf record in dns- Returns:
- result The SPF1Record
- Throws:
PermErrorException
- Get thrown if an syntax error was detectedNoneException
- Get thrown if no spf record could be foundNeutralException
- Get thrown if an empty spf record was found
-