protected String replaceHostWildcard ( String input , NetworkAddress hostname ) { return input . replace ( "$HOST" , hostname . address ( ) ) ; }
Replaces the host wildcard from an incoming config with a proper hostname .