Skip to main content

ModelCenter Remote Execution Java API 2026 R1

IPHXStringReplacer

Last update: 22.06.2026

Interface: IPHXStringReplacer

Package: com.phoenix_int.aserver.util


Declaration

public interface IPHXStringReplacer

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

Method Summary

Modifier and Type Method and Description
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:

Connect with Ansys