public interface SPFRecordParser
Modifier and Type | Method and Description |
---|---|
SPF1Record |
parse(String spfRecord)
This Method parse the given spf record and checks for syntax
parse can be called by multiple concurrent threads.
|
SPF1Record parse(String spfRecord) throws PermErrorException, NoneException, NeutralException
spfRecord
- The String which represent the spf record in dnsPermErrorException
- 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 foundCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.