org.apache.openjpa.lib.meta
Class SuffixMetaDataFilter
java.lang.Object
org.apache.openjpa.lib.meta.SuffixMetaDataFilter
- All Implemented Interfaces:
- MetaDataFilter
public class SuffixMetaDataFilter
- extends Object
- implements MetaDataFilter
Filters metadata iteration based on resource name suffix.
- Author:
- Abe White
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SuffixMetaDataFilter
public SuffixMetaDataFilter(String suffix)
- Constructor; supply suffix to match against.
matches
public boolean matches(MetaDataFilter.Resource rsrc)
- Description copied from interface:
MetaDataFilter
- Return whether the given resource passes the filter.
- Specified by:
matches
in interface MetaDataFilter
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.