intarsys runtime library

de.intarsys.tools.file
Class WildcardMatch

java.lang.Object
  extended by de.intarsys.tools.file.WildcardMatch

public class WildcardMatch
extends Object

Handles wildcards for filename matching.


Constructor Summary
WildcardMatch()
           
 
Method Summary
 boolean isIgnoreCase()
           
 boolean isMatchSeparators()
           
 boolean match(String pattern, String string)
           
 void setIgnoreCase(boolean newIgnoreCase)
           
 void setMatchSeparators(boolean newMatchSeparators)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WildcardMatch

public WildcardMatch()
Method Detail

isIgnoreCase

public boolean isIgnoreCase()

isMatchSeparators

public boolean isMatchSeparators()

match

public boolean match(String pattern,
                     String string)

setIgnoreCase

public void setIgnoreCase(boolean newIgnoreCase)

setMatchSeparators

public void setMatchSeparators(boolean newMatchSeparators)

intarsys runtime library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.