public class MidFunction extends java.lang.Object implements Function
| Constructor and Description |
|---|
MidFunction() |
| Modifier and Type | Method and Description |
|---|---|
TypeValuePair |
evaluate(FormulaContext context,
ParameterCallback parameters) |
java.lang.String |
getCanonicalName() |
static java.lang.String |
process(java.lang.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 FunctionEvaluationExceptionpublic static java.lang.String process(java.lang.String text,
int start,
int lengthValue)
text - start - lengthValue - public java.lang.String getCanonicalName()
getCanonicalName in interface Function