public class Formula extends Object implements OdfDataType
| Constructor and Description |
|---|
Formula(String formula)
Construct Formula by the parsing the given string
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isValid(String stringValue)
check if the specified String is a valid formula data type
|
String |
toString()
Returns a String Object representing this Formula's value
|
static Formula |
valueOf(String stringValue)
Returns a Formula instance representing the specified String value
|
public Formula(String formula) throws IllegalArgumentException
formula - The String to be parsed into FormulaIllegalArgumentException - if the given argument is not a valid Formulapublic String toString()
public static Formula valueOf(String stringValue) throws IllegalArgumentException
stringValue - a String valueIllegalArgumentException - if the given argument is not a valid FormulaCopyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2019 The Document Foundation. All rights reserved.