railo.commons.io.res.type.cache
Class ChildrenFilter
java.lang.Object
railo.commons.io.res.type.cache.ChildrenFilter
- All Implemented Interfaces:
- CacheFilter, CacheKeyFilter
public class ChildrenFilter
- extends Object
- implements CacheKeyFilter
Method Summary |
boolean |
accept(String key)
Tests if a specified key should be accepted. |
String |
toPattern()
a string pattern of the filter, this is used when the filtering is made natively by the implementation |
ChildrenFilter
public ChildrenFilter(String path)
accept
public boolean accept(String key)
- Description copied from interface:
CacheKeyFilter
- Tests if a specified key should be accepted.
- Specified by:
accept
in interface CacheKeyFilter
- Parameters:
key
- key to check
- Returns:
- if and only if the Entry should be accepted; false otherwise.
toPattern
public String toPattern()
- Description copied from interface:
CacheFilter
- a string pattern of the filter, this is used when the filtering is made natively by the implementation
- Specified by:
toPattern
in interface CacheFilter
- Returns:
- string pattern of the filter
Copyright © 2012 Railo