|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.reporting.engine.classic.core.function.AbstractExpression org.pentaho.reporting.engine.classic.core.function.strings.SubStringExpression
public class SubStringExpression
Creates a substring of the given text. If the expression has an ellipsis defined, and the given start position and length are greater than the string's length, the ellipsis-text will be appended to indicate that this substring result is only a partial match.
A similiar functionality can be achived using the built-in formula support.
Constructor Summary | |
---|---|
SubStringExpression()
Deprecated. Default Constructor. |
Method Summary | |
---|---|
String |
getEllipsis()
Deprecated. Returns the ellipsis-text that indicates partial values. |
String |
getField()
Deprecated. Returns the name of the datarow-column from where to read the string value. |
int |
getLength()
Deprecated. Returns the sub-string's length. |
int |
getStart()
Deprecated. Returns the sub-string's start position. |
Object |
getValue()
Deprecated. Computes the sub-string. |
void |
setEllipsis(String ellipsis)
Deprecated. Defines the ellipsis-text that indicates partial values. |
void |
setField(String field)
Deprecated. Defines the name of the datarow-column from where to read the string value. |
void |
setLength(int length)
Deprecated. Defines the sub-string's length. |
void |
setStart(int start)
Deprecated. Defines the sub-string's start position. |
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubStringExpression()
Method Detail |
---|
public String getField()
public void setField(String field)
field
- the field.public String getEllipsis()
public void setEllipsis(String ellipsis)
ellipsis
- the ellipsis.public int getStart()
public void setStart(int start)
start
- the start position.public int getLength()
public void setLength(int length)
length
- the length.public Object getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |