org.apache.jcs.engine.match
Class KeyMatcherPatternImpl

java.lang.Object
  extended by org.apache.jcs.engine.match.KeyMatcherPatternImpl
All Implemented Interfaces:
IKeyMatcher

public class KeyMatcherPatternImpl
extends Object
implements IKeyMatcher

This implementation of the KeyMatcher uses standard Java Pattern matching.


Constructor Summary
KeyMatcherPatternImpl()
           
 
Method Summary
 Set getMatchingKeysFromArray(String pattern, Object[] keyArray)
          Creates a pattern and find matches on the array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyMatcherPatternImpl

public KeyMatcherPatternImpl()
Method Detail

getMatchingKeysFromArray

public Set getMatchingKeysFromArray(String pattern,
                                    Object[] keyArray)
Creates a pattern and find matches on the array.

Specified by:
getMatchingKeysFromArray in interface IKeyMatcher
Parameters:
pattern -
keyArray -
Returns:
Set of the matching keys


Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.