Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.opensymphony.xwork2.util
Class WildcardUtil

    java.lang.Object
      com.opensymphony.xwork2.util.WildcardUtil

    public class WildcardUtil

extends Object

Helper class to convert wildcard expression to regular expression

Constructor Summary
`WildcardUtil()`

Method Summary
`static Pattern` | `compileWildcardPattern(String pattern)` Convert wildcard pattern to Pattern
`static boolean` | `needsBackslashToBeLiteralInRegex(char c)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### WildcardUtil

    public WildcardUtil()

Method Detail

### compileWildcardPattern

    public static Pattern compileWildcardPattern(String pattern)

  Convert wildcard pattern to Pattern

  Parameters:
    `pattern` - String containing wildcard pattern
  Returns:
    compiled regular expression as a Pattern

### needsBackslashToBeLiteralInRegex

    public static boolean needsBackslashToBeLiteralInRegex(char c)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000–2018 Apache Software Foundation. All rights reserved.