org.jasig.services.persondir.util
Class PatternHelper

java.lang.Object
  extended by org.jasig.services.persondir.util.PatternHelper

public class PatternHelper
extends Object

Version:
$Revision$
Author:
Eric Dalquist

Constructor Summary
PatternHelper()
           
 
Method Summary
static Pattern compilePattern(String queryString)
          Converts a String using the IPersonAttributeDao.WILDCARD into a valid regular expression Pattern with the IPersonAttributeDao.WILDCARD replaced by .* and the rest of the string escaped using Pattern.quote(String)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatternHelper

public PatternHelper()
Method Detail

compilePattern

public static Pattern compilePattern(String queryString)
Converts a String using the IPersonAttributeDao.WILDCARD into a valid regular expression Pattern with the IPersonAttributeDao.WILDCARD replaced by .* and the rest of the string escaped using Pattern.quote(String)



Copyright © 2012 Jasig. All Rights Reserved.