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
 SPF1Record parse(java.lang.String spfRecord)
          This Method parse the given spf record and checks for syntax parse can be called by multiple concurrent threads.
 

Method Detail

parse

SPF1Record parse(java.lang.String spfRecord)
                 throws PermErrorException,
                        NoneException,
                        NeutralException
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 detected
NoneException - Get thrown if no spf record could be found
NeutralException - Get thrown if an empty spf record was found


Copyright © 2006-2009 The Apache Software Foundation. All Rights Reserved.