org.apache.poi.hssf.record.formula.functions
Class Substitute

java.lang.Object
  extended by org.apache.poi.hssf.record.formula.functions.TextFunction
      extended by org.apache.poi.hssf.record.formula.functions.Substitute
All Implemented Interfaces:
Function

public final class Substitute
extends TextFunction

An implementation of the SUBSTITUTE function: Substitutes text in a text string with new text, some number of times.

Author:
Manda Wilson < wilson at c bio dot msk cc dot org >

Field Summary
 
Fields inherited from class org.apache.poi.hssf.record.formula.functions.TextFunction
CONCATENATE, EMPTY_STRING, EXACT, LEFT, LEN, LOWER, MID, RIGHT, TRIM, UPPER
 
Constructor Summary
Substitute()
           
 
Method Summary
protected  ValueEval evaluateFunc(Eval[] args, int srcCellRow, short srcCellCol)
           
 
Methods inherited from class org.apache.poi.hssf.record.formula.functions.TextFunction
evaluate, evaluateIntArg, evaluateStringArg
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Substitute

public Substitute()
Method Detail

evaluateFunc

protected ValueEval evaluateFunc(Eval[] args,
                                 int srcCellRow,
                                 short srcCellCol)
                          throws EvaluationException
Specified by:
evaluateFunc in class TextFunction
Throws:
EvaluationException


Copyright 2008 The Apache Software Foundation or its licensors, as applicable.