public class JexlOne extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
JexlOne()
Private constructor, ensure no instance.
|
| Modifier and Type | Method and Description |
|---|---|
static Expression |
createExpression(String expression)
Deprecated.
Create a JexlEngine and use createExpression() on that
|
static Script |
createScript(File scriptFile)
Deprecated.
Create a JexlEngine and use the createScript method on that instead.
|
static Script |
createScript(String scriptText)
Deprecated.
Create a JexlEngine and use the createScript method on that instead.
|
static Script |
createScript(URL scriptUrl)
Deprecated.
Create a JexlEngine and use the createScript method on that instead.
|
@Deprecated public static Script createScript(String scriptText) throws Exception
scriptText - A String containing valid JEXL syntaxScript which can be executed with a
JexlContext.Exception - An exception can be thrown if there is a
problem parsing the script.@Deprecated public static Script createScript(File scriptFile) throws Exception
File containing valid JEXL syntax.
This method parses the script and validates the syntax.scriptFile - A File containing valid JEXL syntax.
Must not be null. Must be a readable file.Script which can be executed with a
JexlContext.Exception - An exception can be thrown if there is a problem
parsing the script.@Deprecated public static Script createScript(URL scriptUrl) throws Exception
URL containing valid JEXL syntax.
This method parses the script and validates the syntax.scriptUrl - A URL containing valid JEXL syntax.
Must not be null. Must be a readable file.Script which can be executed with a
JexlContext.Exception - An exception can be thrown if there is a problem
parsing the script.@Deprecated public static Expression createExpression(String expression)
expression - A String containing valid JEXL syntaxJexlException - An exception can be thrown if there is a problem
parsing this expression, or if the expression is neither an
expression or a reference.Copyright © 2021. All rights reserved.