- CollectionsUtils - Class in net.obvj.jep.util
-
Utility methods for working with Java Collections.
- compileJsonPath(String) - Static method in class net.obvj.jep.util.JsonUtils
-
Compiles the given JSONPath.
- compileXPath(String) - Static method in class net.obvj.jep.util.XmlUtils
-
Compiles the given XPath expression.
- Concat - Class in net.obvj.jep.functions
-
This class implements a JEP function command that concatenates elements.
- Concat() - Constructor for class net.obvj.jep.functions.Concat
-
Builds this function with any number of parameters
- Console - Class in net.obvj.jep
-
This class implements a simple command line utility for evaluating JEP expressions.
- Console() - Constructor for class net.obvj.jep.Console
-
- containsParsableDates(Iterable<?>) - Static method in class net.obvj.jep.util.DateUtils
-
Checks if all the elements are parsable dates.
- containsParsableDatesIso8601(Iterable<?>) - Static method in class net.obvj.jep.util.DateUtils
-
Checks if all the elements are parsable dates.
- containsParsableDatesRfc3339(Iterable<?>) - Static method in class net.obvj.jep.util.DateUtils
-
Checks if all the elements are parsable dates.
- containsParsableNumbers(Iterable<?>) - Static method in class net.obvj.jep.util.NumberUtils
-
Checks if all the elements are parsable number.
- convertToXML(Object) - Static method in class net.obvj.jep.util.XmlUtils
-
Converts an object into an XML Document.
- convertToXML(String) - Static method in class net.obvj.jep.util.XmlUtils
-
Converts a String to an XML Document.
- Count - Class in net.obvj.jep.functions
-
This class implements a JEP function that counts elements.
- Count() - Constructor for class net.obvj.jep.functions.Count
-
Builds this function with a fixed number of one parameter
- count(Object) - Method in class net.obvj.jep.functions.Count
-
Counts the elements of an Object which may be a Collection, array, JSONArray, or string
representation of JSONArray.
- createMapOfParsedObjects(Iterable<?>) - Static method in class net.obvj.jep.util.CollectionsUtils
-
Converts the given
Iterable into a
Map where each key is an element of
the given
Iterable, parsed either as
Double or
Date, and the
associated value is the original element without conversion.
- DateAwareComparative - Class in net.obvj.jep.functions
-
An extension of JEP's Comparative command that can also handle strings and dates.
- DateAwareComparative(int) - Constructor for class net.obvj.jep.functions.DateAwareComparative
-
Builds this Comparative command
- DateFieldGetter - Class in net.obvj.jep.functions
-
An "abstract" function that returns a field from a Date, depending on the assigned
DateFieldGetter.DateField fetching strategy.
- DateFieldGetter(DateFieldGetter.DateField) - Constructor for class net.obvj.jep.functions.DateFieldGetter
-
Builds this custom command with a fixed number of 1 parameter.
- DateFieldGetter.DateField - Enum in net.obvj.jep.functions
-
Defines particular field-fetching strategies for a given date.
- DateToString - Class in net.obvj.jep.functions
-
A command that formats dates in a specified pattern
- DateToString() - Constructor for class net.obvj.jep.functions.DateToString
-
Builds this custom command with a fixed number of 2 parameters
- DateUtils - Class in net.obvj.jep.util
-
A utility class for working with dates.
- DaysBetween - Class in net.obvj.jep.functions
-
A command that returns the number of days between two dates
- DaysBetween() - Constructor for class net.obvj.jep.functions.DaysBetween
-
Builds this custom command with a fixed number of 2 parameters
- daysBetween(Date, Date) - Static method in class net.obvj.jep.util.DateUtils
-
Calculates the number of days between two dates
- Distinct - Class in net.obvj.jep.functions
-
This class implements a function that returns a list consisting of distinct elements of
a given collection.
- Distinct() - Constructor for class net.obvj.jep.functions.Distinct
-
Builds this function with a fixed number of parameters
- distinctList(List<Object>) - Static method in class net.obvj.jep.util.CollectionsUtils
-
Returns a list consisting of the distinct elements (according to Object.equals(Object))
of a given list.
- Element - Class in net.obvj.jep.functions
-
A command that returns elements from Java Lists and JSONArrays given the index.
- Element() - Constructor for class net.obvj.jep.functions.Element
-
Builds this custom command with a fixed number of 2 parameters
- EncryptionUtils - Class in net.obvj.jep.util
-
Utility methods for working with encryption.
- EndOfMonth - Class in net.obvj.jep.functions
-
A function that returns the date corresponding to the last day of the month given a
source date
- EndOfMonth() - Constructor for class net.obvj.jep.functions.EndOfMonth
-
Builds this custom command with a fixed number of 1 parameter
- endOfMonth(Date) - Static method in class net.obvj.jep.util.DateUtils
-
Returns the date corresponding to the last day of the month given a source date
- evaluate(Map<String, Object>) - Method in class net.obvj.jep.ExpressionEvaluator
-
Evaluates the instance-defined expression with a map of variables.
- evaluate(Map<String, Object>, boolean) - Method in class net.obvj.jep.ExpressionEvaluator
-
Evaluates the instance-defined expression with a map of variables.
- evaluate(String, Map<String, Object>) - Static method in class net.obvj.jep.ExpressionEvaluatorFacade
-
Evaluates the given expression based on the variables in the
contextMap.
- evaluate(String, Map<String, Object>, boolean) - Static method in class net.obvj.jep.ExpressionEvaluatorFacade
-
Evaluates the given expression based on the variables in the
contextMap.
- evaluateXPath(Document, String) - Static method in class net.obvj.jep.util.XmlUtils
-
Returns a list of XML nodes that match the given XPath expression.
- evaluateXPath(String, String) - Static method in class net.obvj.jep.util.XmlUtils
-
Returns a list of XML nodes that match the given XPath expression.
- evaluateXPathAsObjectList(Document, String) - Static method in class net.obvj.jep.util.XmlUtils
-
Returns a list of Objects that match the given XPath expression.
- evaluateXPathAsObjectList(String, String) - Static method in class net.obvj.jep.util.XmlUtils
-
Returns a list of Objects that match the given XPath expression.
- execute(WebServiceResponse) - Method in enum net.obvj.jep.functions.HttpResponseHandler.Strategy
-
- execute(String, Integer, String) - Method in enum net.obvj.jep.functions.StringPaddingFunction.Strategy
-
- execute(Object) - Method in enum net.obvj.jep.functions.UnaryBooleanFunction.Strategy
-
- ExpressionEvaluator - Class in net.obvj.jep
-
An object that validates an user expression at instantiation time and evaluates with
given source variables at runtime.
- ExpressionEvaluator(String) - Constructor for class net.obvj.jep.ExpressionEvaluator
-
Builds this extended expression evaluator
- ExpressionEvaluatorFacade - Class in net.obvj.jep
-
- invoke(String, String, Object) - Static method in class net.obvj.jep.http.WebServiceUtils
-
Executes the requested HTTP method on a given URL.
- invoke(String, String, Object, Map<String, String>) - Static method in class net.obvj.jep.http.WebServiceUtils
-
Executes the requested HTTP method on a given URL, with custom headers.
- isDecimal(String) - Static method in class net.obvj.jep.util.NumberUtils
-
Checks if a String represents a number with decimal.
- isDecimal(Number) - Static method in class net.obvj.jep.util.NumberUtils
-
Checks if a Number contains a decimal.
- IsEmpty - Class in net.obvj.jep.functions
-
A function that returns 1 if the given parameter is either an empty String, JSON or
Collection, or 0 if not.
- IsEmpty() - Constructor for class net.obvj.jep.functions.IsEmpty
-
Builds this custom command with a fixed number of 1 parameter
- isEmpty(Collection<?>) - Static method in class net.obvj.jep.util.CollectionsUtils
-
- isEmpty(Object) - Static method in class net.obvj.jep.util.JsonUtils
-
Null-safe method that evaluates the specified object for emptiness.
- isInteger(Object) - Static method in class net.obvj.jep.util.NumberUtils
-
Checks if the specified Object represents an integer.
- isInteger(String) - Static method in class net.obvj.jep.util.NumberUtils
-
Checks if a String represents an integer.
- isInteger(Number) - Static method in class net.obvj.jep.util.NumberUtils
-
Checks if a Number is an integer.
- IsLeapYear - Class in net.obvj.jep.functions
-
A function that returns 1 if the given parameter is either a leap year or a Date whose
year is a leap year, or 0 if not.
- IsLeapYear() - Constructor for class net.obvj.jep.functions.IsLeapYear
-
Builds this custom command with a fixed number of 1 parameter
- isLeapYear(Date) - Static method in class net.obvj.jep.util.DateUtils
-
Returns true if the given date is a leap year, that is, an year with 366 days, the
extra day designated as February 29.
- isLeapYear(int) - Static method in class net.obvj.jep.util.DateUtils
-
Returns true if the given year is a leap year, that is, an year with 366 days, the
extra day designated as February 29.
- isNumber(Object) - Static method in class net.obvj.jep.util.NumberUtils
-
Checks whether the Object is a valid Java number.
- isParsable(Object) - Static method in class net.obvj.jep.util.DateUtils
-
Checks whether the given object can be a valid date.
- isParsableIso8601(String) - Static method in class net.obvj.jep.util.DateUtils
-
Checks whether the given string can be a valid date based on a set of common ISO-8601
format variations.
- isParsableRfc3339(String) - Static method in class net.obvj.jep.util.DateUtils
-
Checks whether the given string can be a valid date in RFC-3339 format.
- isSuccessful() - Method in class net.obvj.jep.http.WebServiceResponse
-
Returns true if the status code from an HTTP client response is one of the family 2xx
(success)
- NamedPackage - Enum in net.obvj.jep
-
Enumerates all known custom package names.
- net.obvj.jep - package net.obvj.jep
-
Provides main classes to work with JEP.
- net.obvj.jep.functions - package net.obvj.jep.functions
-
Provides functions for the Java Expression Parser.
- net.obvj.jep.http - package net.obvj.jep.http
-
Provides classes for working with HTTP and Web Services.
- net.obvj.jep.util - package net.obvj.jep.util
-
Provides reusable static utility methods.
- newContext(NamedPackage...) - Static method in class net.obvj.jep.JEPContextFactory
-
Creates a new JEP object with custom functions and operators available.
- newContext(Map<String, Object>, NamedPackage...) - Static method in class net.obvj.jep.JEPContextFactory
-
Creates a new JEP object with custom functions and operators available, and a
collection of initial variables.
- newContext(Map<String, Object>, boolean, boolean, boolean, NumberFactory, NamedPackage...) - Static method in class net.obvj.jep.JEPContextFactory
-
Creates a new JEP object with custom functions and operators available, a
collection of initial variables, and custom parameters.
- newParametersStack(Object...) - Static method in class net.obvj.jep.util.CollectionsUtils
-
Produces a Stack to be processed by JEP functions.
- NormalizeString - Class in net.obvj.jep.functions
-
This class implements a JEP function that normalizes Unicode strings, replacing accents
and other diacritics with ASCII characters.
- NormalizeString() - Constructor for class net.obvj.jep.functions.NormalizeString
-
Builds this function with a fixed number of one parameter
- normalizeString(String) - Static method in class net.obvj.jep.functions.NormalizeString
-
Normalizes a Unicode string, replacing accents and other diacritics with ASCII
characters.
- Now - Class in net.obvj.jep.functions
-
This class implements a function command that returns system's current date and time.
- Now() - Constructor for class net.obvj.jep.functions.Now
-
Builds this function without parameters
- NumberUtils - Class in net.obvj.jep.util
-
A utility class for working with numbers.
- ReadFile - Class in net.obvj.jep.functions
-
A function that reads the content a text file from the file system
- ReadFile() - Constructor for class net.obvj.jep.functions.ReadFile
-
Builds this custom command with a fixed number of 1 parameter
- readFromClasspath(String) - Static method in class net.obvj.jep.util.FileUtils
-
Loads the content of a file in the class path into a String.
- readFromFileSystem(String) - Static method in class net.obvj.jep.util.FileUtils
-
Loads the content of the file identified by the given path in the file system.
- readJsonPath(JSONObject, String) - Static method in class net.obvj.jep.util.JsonUtils
-
Gets a value that matches the given JSONPath.
- readJsonPath(JSONObject, String, boolean) - Static method in class net.obvj.jep.util.JsonUtils
-
Gets a value that matches the given JSONPath.
- readQuietlyFromClasspath(String) - Static method in class net.obvj.jep.util.FileUtils
-
Loads the content of a file in the class path into a string.
- RegexUtils - Class in net.obvj.jep.util
-
A utility class for working with regular expressions in strings.
- Replace - Class in net.obvj.jep.functions
-
An "abstract" function that replaces occurrences of a string with another string.
- Replace(Replace.Strategy) - Constructor for class net.obvj.jep.functions.Replace
-
Builds this function with a fixed number of three parameters and the given search
strategy.
- Replace.Strategy - Enum in net.obvj.jep.functions
-
Defines particular strategies for the
Replace function.
- replaceMatches(String, String, String) - Static method in class net.obvj.jep.util.RegexUtils
-
Replaces all matches found for the given regular expression with a replacement string.
- replacePlaceholdersWithVariables(String, Map<String, Object>) - Static method in class net.obvj.jep.util.RegexUtils
-
Method to replace place-holders with variables.
- Roman - Class in net.obvj.jep.functions
-
A function command that converts an Arabic numeral to Roman.
- Roman() - Constructor for class net.obvj.jep.functions.Roman
-
Builds this function without parameters
- RomanNumeralUtils - Class in net.obvj.jep.util
-
A class that contains methods for conversions between Roman and Arabic numerals.
- RomanNumeralUtils.RomanNumeral - Enum in net.obvj.jep.util
-
- romanToArabic(String) - Static method in class net.obvj.jep.util.RomanNumeralUtils
-
Converts a Roman number to an Arabic number.
- run() - Method in class net.obvj.jep.Console
-
- run(Stack) - Method in class net.obvj.jep.functions.Arabic
-
- run(Stack) - Method in class net.obvj.jep.functions.Average
-
- run(Stack) - Method in class net.obvj.jep.functions.BasicAuthorizationHeader
-
- run(Stack) - Method in class net.obvj.jep.functions.BinaryBooleanFunction
-
- run(Stack) - Method in class net.obvj.jep.functions.BinaryDateFunction
-
- run(Stack) - Method in class net.obvj.jep.functions.BinaryStringFunction
-
- run(Stack) - Method in class net.obvj.jep.functions.Concat
-
- run(Stack) - Method in class net.obvj.jep.functions.Count
-
- run(Stack) - Method in class net.obvj.jep.functions.DateAwareComparative
-
- run(Stack) - Method in class net.obvj.jep.functions.DateFieldGetter
-
- run(Stack) - Method in class net.obvj.jep.functions.DateToString
-
- run(Stack) - Method in class net.obvj.jep.functions.DaysBetween
-
- run(Stack) - Method in class net.obvj.jep.functions.Distinct
-
- run(Stack) - Method in class net.obvj.jep.functions.Element
-
- run(Stack) - Method in class net.obvj.jep.functions.EndOfMonth
-
- run(Stack) - Method in class net.obvj.jep.functions.FormatString
-
- run(Stack) - Method in class net.obvj.jep.functions.Http
-
- run(Stack) - Method in class net.obvj.jep.functions.HttpGet
-
- run(Stack) - Method in class net.obvj.jep.functions.HttpHeader
-
- run(Stack) - Method in class net.obvj.jep.functions.HttpResponseHandler
-
- run(Stack) - Method in class net.obvj.jep.functions.IsEmpty
-
- run(Stack) - Method in class net.obvj.jep.functions.IsLeapYear
-
- run(Stack) - Method in class net.obvj.jep.functions.JsonPath
-
- run(Stack) - Method in class net.obvj.jep.functions.Max
-
- run(Stack) - Method in class net.obvj.jep.functions.Min
-
- run(Stack) - Method in class net.obvj.jep.functions.NormalizeString
-
- run(Stack) - Method in class net.obvj.jep.functions.Now
-
- run(Stack) - Method in class net.obvj.jep.functions.ReadFile
-
- run(Stack) - Method in class net.obvj.jep.functions.Replace
-
- run(Stack) - Method in class net.obvj.jep.functions.Roman
-
- run(Stack) - Method in class net.obvj.jep.functions.StringPaddingFunction
-
- run(Stack) - Method in class net.obvj.jep.functions.StringToDate
-
- run(Stack) - Method in class net.obvj.jep.functions.TypeOf
-
- run(Stack) - Method in class net.obvj.jep.functions.UnaryBooleanFunction
-
- run(Stack) - Method in class net.obvj.jep.functions.UnaryEncryptionFunction
-
- run(Stack) - Method in class net.obvj.jep.functions.UnaryStringFunction
-
- run(Stack) - Method in class net.obvj.jep.functions.UnarySystemFunction
-
- run(Stack) - Method in class net.obvj.jep.functions.UUID
-
- run(Stack) - Method in class net.obvj.jep.functions.XPath
-
- validateExpression(String) - Static method in class net.obvj.jep.ExpressionEvaluator
-
Validates the given expression.
- valueOf(String) - Static method in enum net.obvj.jep.functions.BinaryBooleanFunction.Strategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.obvj.jep.functions.BinaryDateFunction.Strategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.obvj.jep.functions.BinaryStringFunction.Strategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.obvj.jep.functions.DateFieldGetter.DateField
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.obvj.jep.functions.HttpResponseHandler.Strategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.obvj.jep.functions.Replace.Strategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.obvj.jep.functions.StringPaddingFunction.Strategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.obvj.jep.functions.UnaryBooleanFunction.Strategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.obvj.jep.functions.UnaryEncryptionFunction.EncryptionAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.obvj.jep.functions.UnaryStringFunction.Strategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.obvj.jep.functions.UnarySystemFunction.Strategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.obvj.jep.NamedPackage
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.obvj.jep.util.RomanNumeralUtils.RomanNumeral
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.obvj.jep.functions.BinaryBooleanFunction.Strategy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.obvj.jep.functions.BinaryDateFunction.Strategy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.obvj.jep.functions.BinaryStringFunction.Strategy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.obvj.jep.functions.DateFieldGetter.DateField
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.obvj.jep.functions.HttpResponseHandler.Strategy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.obvj.jep.functions.Replace.Strategy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.obvj.jep.functions.StringPaddingFunction.Strategy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.obvj.jep.functions.UnaryBooleanFunction.Strategy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.obvj.jep.functions.UnaryEncryptionFunction.EncryptionAlgorithm
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.obvj.jep.functions.UnaryStringFunction.Strategy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.obvj.jep.functions.UnarySystemFunction.Strategy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.obvj.jep.NamedPackage
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.obvj.jep.util.RomanNumeralUtils.RomanNumeral
-
Returns an array containing the constants of this enum type, in
the order they are declared.