Class TokenizeStringExpression
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.function.AbstractExpression
-
- org.pentaho.reporting.engine.classic.core.function.strings.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 Summary
Constructors Constructor Description TokenizeStringExpression()
Deprecated.Default Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getDelimeter()
Deprecated.Returns the delimeter string.String
getField()
Deprecated.Returns the name of the datarow-column from where to read the string value.String
getPrefix()
Deprecated.Returns the prefix text.String
getReplacement()
Deprecated.Returns the replacement for the delimter.String
getSuffix()
Deprecated.Returns the suffix text.Object
getValue()
Deprecated.Computes the tokenized string.void
setDelimeter(String delimeter)
Deprecated.Defines the delimeter string.void
setField(String field)
Deprecated.Defines the name of the datarow-column from where to read the string value.void
setPrefix(String prefix)
Deprecated.Defines the prefix text.void
setReplacement(String replacement)
Deprecated.Defines the replacement for the delimter.void
setSuffix(String suffix)
Deprecated.Defines the suffix text.-
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractExpression
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime
-
-
-
-
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.
-
-