Package org.apache.poi.ss.formula.eval
Class StringEval
- java.lang.Object
-
- org.apache.poi.ss.formula.eval.StringEval
-
- All Implemented Interfaces:
StringValueEval
,ValueEval
public final class StringEval extends java.lang.Object implements StringValueEval
-
-
Field Summary
Fields Modifier and Type Field Description static StringEval
EMPTY_INSTANCE
-
Constructor Summary
Constructors Constructor Description StringEval(java.lang.String value)
StringEval(Ptg ptg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getStringValue()
java.lang.String
toString()
-
-
-
Field Detail
-
EMPTY_INSTANCE
public static final StringEval EMPTY_INSTANCE
-
-
Constructor Detail
-
StringEval
public StringEval(Ptg ptg)
-
StringEval
public StringEval(java.lang.String value)
-
-
Method Detail
-
getStringValue
public java.lang.String getStringValue()
- Specified by:
getStringValue
in interfaceStringValueEval
- Returns:
- never
null
, possibly empty string.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-