org.apache.james.jspf.core
Class MacroExpand

java.lang.Object
  extended by org.apache.james.jspf.core.MacroExpand

public class MacroExpand
extends java.lang.Object


Nested Class Summary
static class MacroExpand.RequireClientDomainException
           
 
Field Summary
static boolean DOMAIN
           
static boolean EXPLANATION
           
 
Constructor Summary
MacroExpand(Logger logger, DNSService dnsProbe)
          Construct MacroExpand
 
Method Summary
 DNSLookupContinuation checkExpand(java.lang.String input, SPFSession session, boolean isExplanation)
           
 java.lang.String expand(java.lang.String input, MacroData macroData, boolean isExplanation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXPLANATION

public static final boolean EXPLANATION
See Also:
Constant Field Values

DOMAIN

public static final boolean DOMAIN
See Also:
Constant Field Values
Constructor Detail

MacroExpand

public MacroExpand(Logger logger,
                   DNSService dnsProbe)
Construct MacroExpand

Parameters:
logger - the logget to use
dnsProbe - the dns service to use
Method Detail

checkExpand

public DNSLookupContinuation checkExpand(java.lang.String input,
                                         SPFSession session,
                                         boolean isExplanation)
                                  throws PermErrorException,
                                         NoneException
Throws:
PermErrorException
NoneException

expand

public java.lang.String expand(java.lang.String input,
                               MacroData macroData,
                               boolean isExplanation)
                        throws PermErrorException
Throws:
PermErrorException


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