Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.alicebot.server.core.util
Class WildCardFilter  view WildCardFilter download WildCardFilter.java

java.lang.Object
  extended byorg.alicebot.server.core.util.WildCardFilter
All Implemented Interfaces:
java.io.FilenameFilter

public final class WildCardFilter
extends java.lang.Object
implements java.io.FilenameFilter


Field Summary
private  java.lang.String pattern
           
private  java.lang.String prefix
           
private  java.lang.String suffix
           
private  char wildCard
           
private  int[] wildIndex
           
 
Constructor Summary
WildCardFilter(java.lang.String s, char c)
           
 
Method Summary
 boolean accept(java.io.File file, java.lang.String s)
          This method determines whether or not a given file should be included in a directory listing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pattern

private java.lang.String pattern

wildCard

private char wildCard

wildIndex

private int[] wildIndex

prefix

private java.lang.String prefix

suffix

private java.lang.String suffix
Constructor Detail

WildCardFilter

public WildCardFilter(java.lang.String s,
                      char c)
Method Detail

accept

public boolean accept(java.io.File file,
                      java.lang.String s)
Description copied from interface: java.io.FilenameFilter
This method determines whether or not a given file should be included in a directory listing.

Specified by:
accept in interface java.io.FilenameFilter