org.abraracourcix.alipes.common
Class RegExpCreator

java.lang.Object
  extended byorg.abraracourcix.alipes.common.RegExpCreator

public final class RegExpCreator
extends java.lang.Object

This class generates regular expressions from simple wildcard expressions. For this class, wildcard expressions are expressions of the form "a*.txt" to match "a.txt, ab.txt..... or "abc.???" to match "abc.abc, abc.txt2 but not "abc.text"

Author:
jdt

Method Summary
static java.lang.String getRegExp(java.lang.String wildcard)
          Given a wildcard expression return the corresponding regexp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRegExp

public static java.lang.String getRegExp(java.lang.String wildcard)
Given a wildcard expression return the corresponding regexp

Parameters:
wildcard - the wildcard
Returns:
the regexp


Copyright © 2004-2005 Abraracourcix. All Rights Reserved.