org.ops4j.io
Class ListerUtils
java.lang.Object
org.ops4j.io.ListerUtils
public final class ListerUtils
- extends Object
Utility methods related to Lister
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parseFilter
public static Pattern parseFilter(String spec)
- Parses a usual filter into a regex pattern.
- Parameters:
spec
- the filter to be parsed
- Returns:
- a regexp pattern corresponding to the filter
- Throws:
IllegalArgumentException
- - If the filter could not be compiled to a pattern
Copyright © 2006-2013 OPS4J - Open Participation Software for Java. All Rights Reserved.