rabbit.util
Class PatternHelper
java.lang.Object
rabbit.util.PatternHelper
public class PatternHelper
- extends Object
Helper class for regular expresions.
- Author:
- Robert Olofsson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PatternHelper
public PatternHelper()
getPattern
public Pattern getPattern(SProperties properties,
String configOption,
String warn,
Logger logger)
- Get a Pattern for a given property.
- Parameters:
properties
- the properties to use.configOption
- the property to get.warn
- the warning message to log if construction failslogger
- the Logger to log warnings to.
- Returns:
- a Pattern or null if no pattern could be created.