railo.commons.io.res.type.cache
Class ChildrenFilter

java.lang.Object
  extended by railo.commons.io.res.type.cache.ChildrenFilter
All Implemented Interfaces:
CacheFilter, CacheKeyFilter

public class ChildrenFilter
extends Object
implements CacheKeyFilter


Constructor Summary
ChildrenFilter(String path)
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildrenFilter

public ChildrenFilter(String path)
Method Detail

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