public final class ValueSourceUtils extends Object
ValueSource implementations.| Modifier and Type | Method and Description | 
|---|---|
| static String | trimPrefix(String expression,
          Collection<String> possiblePrefixes,
          boolean allowUnprefixedExpressions)If the expression starts with one of the provided prefixes, trim that prefix
 and return the remaining expression. | 
| static String | trimPrefix(String expression,
          String[] possiblePrefixes,
          boolean allowUnprefixedExpressions) | 
public static String trimPrefix(String expression, Collection<String> possiblePrefixes, boolean allowUnprefixedExpressions)
expression - The expression to trimpossiblePrefixes - The list of possible expression prefixes to trimallowUnprefixedExpressions - Whether to return the expression if it
                                   doesn't start with one of the prefixes. If true, simply return the
                                   original expression; if false, return null.Copyright © 2001–2016 Codehaus Plexus. All rights reserved.