com.sun.enterprise.util
Class RegexUtil
java.lang.Object
com.sun.enterprise.util.RegexUtil
public class RegexUtil
- extends Object
Provides some regex utilities.
- Since:
- GF 3.1
- Author:
- Kedar Mhaswade (km@dev.java.net)
|
Method Summary |
static String |
globToRegex(String line)
Convert a shell style glob regular expression to a
Java regular expression. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegexUtil
public RegexUtil()
globToRegex
public static String globToRegex(String line)
- Convert a shell style glob regular expression to a
Java regular expression.
Code from: http://stackoverflow.com/questions/1247772
Copyright © 2012 GlassFish Community. All Rights Reserved.