public class MidFunction extends Object implements Function
Constructor and Description |
---|
MidFunction() |
Modifier and Type | Method and Description |
---|---|
TypeValuePair |
evaluate(FormulaContext context,
ParameterCallback parameters) |
String |
getCanonicalName() |
static String |
process(String text,
int start,
int lengthValue)
Computes the substring for the given text, using the 1-based start index and the given length.
|
public TypeValuePair evaluate(FormulaContext context, ParameterCallback parameters) throws EvaluationException
evaluate
in interface Function
EvaluationException
public static String process(String text, int start, int lengthValue)
text
- start
- lengthValue
- public String getCanonicalName()
getCanonicalName
in interface Function
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.