Class TokenizeStringExpression

  • All Implemented Interfaces:
    Serializable, Cloneable, Expression

    public class TokenizeStringExpression
    extends AbstractExpression
    Deprecated.
    Use a formula: "prefix & SUBSTITUTE(field, delimeter, replacement) & suffix"
    Tokenizes a string and replaces all occurences of the delimeter with the value given in replacement. An optional prefix and suffix can be appended to the string.
    Author:
    Thomas Morgner
    See Also:
    Serialized Form
    • Constructor Detail

      • TokenizeStringExpression

        public TokenizeStringExpression()
        Deprecated.
        Default Constructor.
    • Method Detail

      • getField

        public String getField()
        Deprecated.
        Returns the name of the datarow-column from where to read the string value.
        Returns:
        the field.
      • setField

        public void setField​(String field)
        Deprecated.
        Defines the name of the datarow-column from where to read the string value.
        Parameters:
        field - the field.
      • getDelimeter

        public String getDelimeter()
        Deprecated.
        Returns the delimeter string.
        Returns:
        the delimeter.
      • setDelimeter

        public void setDelimeter​(String delimeter)
        Deprecated.
        Defines the delimeter string.
        Parameters:
        delimeter - the delimeter.
      • getReplacement

        public String getReplacement()
        Deprecated.
        Returns the replacement for the delimter.
        Returns:
        the replacement text.
      • setReplacement

        public void setReplacement​(String replacement)
        Deprecated.
        Defines the replacement for the delimter.
        Parameters:
        replacement - the replacement text.
      • getPrefix

        public String getPrefix()
        Deprecated.
        Returns the prefix text.
        Returns:
        the prefix text.
      • setPrefix

        public void setPrefix​(String prefix)
        Deprecated.
        Defines the prefix text.
        Parameters:
        prefix - the prefix text.
      • getSuffix

        public String getSuffix()
        Deprecated.
        Returns the suffix text.
        Returns:
        the suffix text.
      • setSuffix

        public void setSuffix​(String suffix)
        Deprecated.
        Defines the suffix text.
        Parameters:
        suffix - the suffix text.
      • getValue

        public Object getValue()
        Deprecated.
        Computes the tokenized string. Replaces
        Returns:
        the value of the function.