Package com.uc4.util

Class PromptVariableEncoder


  • public class PromptVariableEncoder
    extends java.lang.Object
    Encodes variable names.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String decodeVariableName​(java.lang.String variable)
      See TD 97646 2.4 # -> s.00 $ -> s.01 § -> s.02 (at) -> s.03
      static java.lang.String encodeVariableName​(java.lang.String variable)
      See TD 97646 2.4 # -> s.00 $ -> s.01 § -> s.02 (at) -> s.03
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • encodeVariableName

        public static java.lang.String encodeVariableName​(java.lang.String variable)
        See TD 97646 2.4 # -> s.00 $ -> s.01 § -> s.02 (at) -> s.03
        Parameters:
        variable - Variable name
        Returns:
        Encoded variable name as defined in the TD
      • decodeVariableName

        public static java.lang.String decodeVariableName​(java.lang.String variable)
        See TD 97646 2.4 # -> s.00 $ -> s.01 § -> s.02 (at) -> s.03
        Parameters:
        variable - Variable name
        Returns:
        Decoded variable name