sam.entry
Class NameFilter

java.lang.Object
  |
  +--sam.entry.NameFilter
Direct Known Subclasses:
NameFilter.Wildcards

public abstract class NameFilter
extends java.lang.Object

Name filtering class.


Nested Class Summary
protected  class NameFilter.Comparator
          Basic derivation of an order.
protected static class NameFilter.Wildcards
          Standard wild-characters regular expansion.
 
Field Summary
static sam.entry.NameFilter EQUALITY
          Specification is reduced to equality
static NameFilter.Wildcards WILDCARDS
          Standard ? and * characters regular expansion.
 
Constructor Summary
NameFilter()
           
 
Method Summary
 boolean specifies(sam.entry.Entry a, sam.entry.Entry b)
           
protected abstract  boolean specifies(java.lang.String specification, java.lang.String entry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EQUALITY

public static final sam.entry.NameFilter EQUALITY
Specification is reduced to equality


WILDCARDS

public static final NameFilter.Wildcards WILDCARDS
Standard ? and * characters regular expansion.

Constructor Detail

NameFilter

public NameFilter()
Method Detail

specifies

protected abstract boolean specifies(java.lang.String specification,
                                     java.lang.String entry)
Returns:
true if and only if specification expands to entry

specifies

public boolean specifies(sam.entry.Entry a,
                         sam.entry.Entry b)