Example usage for org.apache.poi.ss.formula.eval StringEval StringEval

List of usage examples for org.apache.poi.ss.formula.eval StringEval StringEval

Introduction

In this page you can find the example usage for org.apache.poi.ss.formula.eval StringEval StringEval.

Prototype

public StringEval(String value) 

Source Link

Usage

From source file:com.dataart.spreadsheetanalytics.functions.poi.data.DefineFunction.java

License:Apache License

/**
 * This function does nothing, since it should never be evaluated.
 * DEFINE function is a spreadsheet metadata and it cannot have a value.
 *///from ww  w .j av a  2  s .  com
@Override
public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) {
    log.debug("In evaluate() of DEFINE function. Args = {}", Arrays.toString(args));

    return new StringEval(DefineFunction.class.getAnnotation(CustomFunctionMeta.class).value());
}