org.apache.nutch.util

## Class JexlUtil

- java.lang.Object
- - org.apache.nutch.util.JexlUtil

-     public class JexlUtil
      extends java.lang.Object

  Utility methods for handling JEXL expressions

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JexlUtil()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static org.apache.commons.jexl2.Expression` | `parseExpression(java.lang.String expr)` Parses the given expression to a JEXL expression.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JexlUtil

          public JexlUtil()

  - ### Method Detail

    - #### parseExpression

          public static org.apache.commons.jexl2.Expression parseExpression(java.lang.String expr)

      Parses the given expression to a JEXL expression. This supports date parsing.
      Parameters:
        `expr` - string JEXL expression
      Returns:
        parsed JEXL expression or null in case of parse error

Copyright © 2019 The Apache Software Foundation