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

Quick Search    Search Deep

com.obinary.cms.util
Class FileNameFilter  view FileNameFilter download FileNameFilter.java

java.lang.Object
  extended bycom.obinary.cms.util.FileNameFilter
All Implemented Interfaces:
java.io.FilenameFilter

public class FileNameFilter
extends java.lang.Object
implements java.io.FilenameFilter

Date: Apr 28, 2003 Time: 11:20:59 AM

Version:
1.0

Field Summary
private  java.lang.String searchString
           
 
Constructor Summary
FileNameFilter()
           
 
Method Summary
 boolean accept(java.io.File dir, java.lang.String name)
          This method determines whether or not a given file should be included in a directory listing.
 void setSearchString(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

searchString

private java.lang.String searchString
Constructor Detail

FileNameFilter

public FileNameFilter()
Method Detail

setSearchString

public void setSearchString(java.lang.String name)

accept

public boolean accept(java.io.File dir,
                      java.lang.String name)
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