org.glite.security.voms.utilities
Class SubstringPattern

java.lang.Object
  extended byorg.glite.security.voms.utilities.SubstringPattern

public final class SubstringPattern
extends java.lang.Object

A class for matching space-separated substring patterns case-insensitively.


Method Summary
static SubstringPattern compile(java.lang.String pattern)
          Get an instance of SubstringPattern matching the given pattern.
 boolean isEmpty()
           
 boolean matches(java.lang.CharSequence input)
          Returns true if input matches all substrings in the pattern.
 java.lang.String pattern()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

compile

public static SubstringPattern compile(java.lang.String pattern)
Get an instance of SubstringPattern matching the given pattern.


matches

public boolean matches(java.lang.CharSequence input)
Returns true if input matches all substrings in the pattern.


isEmpty

public boolean isEmpty()

pattern

public java.lang.String pattern()