maspack.fileutil
Class GlobTools

java.lang.Object
  extended by maspack.fileutil.GlobTools

public class GlobTools
extends java.lang.Object


Constructor Summary
GlobTools()
           
 
Method Summary
static java.lang.String globToRegex(java.lang.String str)
          Converts a wildcard glob to regular expression
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobTools

public GlobTools()
Method Detail

globToRegex

public static java.lang.String globToRegex(java.lang.String str)
Converts a wildcard glob to regular expression

Parameters:
str - wildcard glob string
Returns:
corresponding regular expression