com.sun.enterprise.util
Class RegexUtil

java.lang.Object
  extended by 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)

Constructor Summary
RegexUtil()
           
 
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
 

Constructor Detail

RegexUtil

public RegexUtil()
Method Detail

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.