com.phoenix_int.aserver.util
Interface IPHXStringReplacer


public interface IPHXStringReplacer

This is the interface for a replacing strings, used by the PHXStringReplacer class


Method Summary
 java.lang.String getReplacement(java.lang.String s)
          replaces the specified string with some other value.
 

Method Detail

getReplacement

java.lang.String getReplacement(java.lang.String s)
                                throws PHXNoSuchReplacementException
replaces the specified string with some other value. If the string does not match a known entity, just return it

Parameters:
s - the String to replace
Returns:
the replacement
Throws:
PHXNoSuchReplacementException - thrown if no replacement exists