Skip to main content
Package: com.phoenix_int.aserver.util Class Hierarchy

Declaration
This is a utility class for replacing fields within a string. Sample Usage:

Constructor Summary

Method Summary

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

PHXStringReplacer

Method Detail

replace

Replaces all names starting with ”$” with values looked up from the replacer object. If no match is found, the original value is retained. Parameters:
  • s - the String to replace tokens in
Returns:
  • the modified string

main